Skip to content

Commit

Permalink
prune_super(): sb->s_op is never NULL
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Sep 7, 2013
1 parent dfc59e2 commit d040790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand Down

0 comments on commit d040790

Please sign in to comment.