mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
security: remove sb_check_sb hooks
Unused hook. Remove it. Signed-off-by: Eric Paris <[email protected]> Signed-off-by: James Morris <[email protected]>
This commit is contained in:
parent
c1a7368a6f
commit
353633100d
4 changed files with 0 additions and 30 deletions
|
|
@ -1435,11 +1435,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path)
|
|||
if (IS_DEADDIR(path->dentry->d_inode))
|
||||
goto out_unlock;
|
||||
|
||||
err = security_sb_check_sb(mnt, path);
|
||||
if (err)
|
||||
goto out_unlock;
|
||||
|
||||
err = -ENOENT;
|
||||
if (!d_unlinked(path->dentry))
|
||||
err = attach_recursive_mnt(mnt, path, NULL);
|
||||
out_unlock:
|
||||
|
|
|
|||
Loading…
Reference in a new issue