security: remove dead hook sb_post_addmount

Unused hook.  Remove.

Signed-off-by: Eric Paris <[email protected]>
Signed-off-by: James Morris <[email protected]>
This commit is contained in:
Eric Paris 2010-04-07 15:14:39 -04:00 • committed by James Morris
commit 3db2910177
4 changed files with 0 additions and 25 deletions

View file

@ -1436,8 +1436,6 @@ static int graft_tree(struct vfsmount *mnt, struct path *path)
err = attach_recursive_mnt(mnt, path, NULL);
out_unlock:
mutex_unlock(&path->dentry->d_inode->i_mutex);
if (!err)
security_sb_post_addmount(mnt, path);
return err;
}