Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0407903 authored by Al Viro's avatar Al Viro
Browse files

prune_super(): sb->s_op is never NULL



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent dfc59e2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -71,7 +71,7 @@ static int prune_super(struct shrinker *shrink, struct shrink_control *sc)
	if (!grab_super_passive(sb))
	if (!grab_super_passive(sb))
		return -1;
		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);
		fs_objects = sb->s_op->nr_cached_objects(sb);


	total_objects = sb->s_nr_dentry_unused +
	total_objects = sb->s_nr_dentry_unused +