projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc59e2
)
prune_super(): sb->s_op is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 19 Jul 2013 17:12:31 +0000
(21:12 +0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 7 Sep 2013 23:54:56 +0000
(19:54 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/super.c
b/fs/super.c
index 5536a95186e28cc60d27676714cc5bb8a1ec350b..f6961ea84c56c7dfa3963626d041d0004d509cbf 100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-71,7
+71,7
@@
static int prune_super(struct shrinker *shrink, struct shrink_control *sc)
if (!grab_super_passive(sb))
return -1;
- if (sb->s_op
&& sb->s_op
->nr_cached_objects)
+ if (sb->s_op->nr_cached_objects)
fs_objects = sb->s_op->nr_cached_objects(sb);
total_objects = sb->s_nr_dentry_unused +