Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13783 libcfs: add cfs_kallsyms_lookup_name()
[fs/lustre-release.git]
/
lustre
/
llite
/
vvp_io.c
diff --git
a/lustre/llite/vvp_io.c
b/lustre/llite/vvp_io.c
index
297d7ba
..
c001d85
100644
(file)
--- a/
lustre/llite/vvp_io.c
+++ b/
lustre/llite/vvp_io.c
@@
-959,7
+959,8
@@
static inline void ll_account_page_dirtied(struct page *page,
#elif defined(HAVE_ACCOUNT_PAGE_DIRTIED_EXPORT)
account_page_dirtied(page, mapping);
#else
- vvp_account_page_dirtied(page, mapping);
+ if (vvp_account_page_dirtied)
+ vvp_account_page_dirtied(page, mapping);
#endif
}