git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IEEE80211]: Use correct size_t printf format string in ieee80211_rx.c
[sfrench/cifs-2.6.git]
/
fs
/
hfs
/
bnode.c
diff --git
a/fs/hfs/bnode.c
b/fs/hfs/bnode.c
index 6ad1211f84edb0fcd4264faea1ecedb01fead7b9..a096c5a5666442530eeb208baa4069122511c11d 100644
(file)
--- a/
fs/hfs/bnode.c
+++ b/
fs/hfs/bnode.c
@@
-480,6
+480,8
@@
void hfs_bnode_put(struct hfs_bnode *node)
return;
}
for (i = 0; i < tree->pages_per_bnode; i++) {
+ if (!node->page[i])
+ continue;
mark_page_accessed(node->page[i]);
#if REF_PAGES
put_page(node->page[i]);