diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-19 19:12:31 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-08 01:54:56 +0200 |
commit | d040790391f292bbe5bc6b990c66af9787c855a1 (patch) | |
tree | d970986d5e4412063bc78d2ac6288c6cba5fab17 /fs/super.c | |
parent | exportfs: don't assume that ->iterate() won't feed us too long entries (diff) | |
download | linux-d040790391f292bbe5bc6b990c66af9787c855a1.tar.xz linux-d040790391f292bbe5bc6b990c66af9787c855a1.zip |
prune_super(): sb->s_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index 5536a95186e2..f6961ea84c56 100644 --- 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 + |