diff options
-rw-r--r-- | fs/btrfs/ioctl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 3d85f18bbba6..1136ce2febcc 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -254,11 +254,6 @@ static noinline int btrfs_mksubvol(struct path *parent, char *name, | |||
254 | if (error) | 254 | if (error) |
255 | goto out_drop_write; | 255 | goto out_drop_write; |
256 | 256 | ||
257 | mode &= (S_IRWXUGO|S_ISVTX); | ||
258 | error = security_inode_mkdir(parent->dentry->d_inode, dentry, mode); | ||
259 | if (error) | ||
260 | goto out_drop_write; | ||
261 | |||
262 | /* | 257 | /* |
263 | * Actually perform the low-level subvolume creation after all | 258 | * Actually perform the low-level subvolume creation after all |
264 | * this VFS fuzz. | 259 | * this VFS fuzz. |