diff options
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index f87f56e348fd..7a0c9ce62bed 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -1436,8 +1436,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path) | |||
1436 | err = attach_recursive_mnt(mnt, path, NULL); | 1436 | err = attach_recursive_mnt(mnt, path, NULL); |
1437 | out_unlock: | 1437 | out_unlock: |
1438 | mutex_unlock(&path->dentry->d_inode->i_mutex); | 1438 | mutex_unlock(&path->dentry->d_inode->i_mutex); |
1439 | if (!err) | ||
1440 | security_sb_post_addmount(mnt, path); | ||
1441 | return err; | 1439 | return err; |
1442 | } | 1440 | } |
1443 | 1441 | ||