diff options
Diffstat (limited to 'fs/super.c')
| -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 734ed584a946..6a82660e1adb 100644 --- a/fs/super.c +++ b/fs/super.c @@ -291,7 +291,6 @@ static void __put_super(struct super_block *s)  		WARN_ON(s->s_inode_lru.node);  		WARN_ON(!list_empty(&s->s_mounts));  		security_sb_free(s); -		fscrypt_sb_free(s);  		put_user_ns(s->s_user_ns);  		kfree(s->s_subtype);  		call_rcu(&s->rcu, destroy_super_rcu); @@ -480,6 +479,7 @@ void generic_shutdown_super(struct super_block *sb)  		evict_inodes(sb);  		/* only nonzero refcount inodes can have marks */  		fsnotify_sb_delete(sb); +		fscrypt_sb_delete(sb);  		security_sb_delete(sb);  		if (sb->s_dio_done_wq) {  |