aboutsummaryrefslogtreecommitdiff
path: root/Documentation/development-process
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-09-21 08:31:29 -0400
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:18 +0200
commitc9beae7bf59f99f503a9a9a86a9163e110d8982d (patch)
tree16b8a1f131ccffaa173ea40d990c256d67eda167 /Documentation/development-process
parentde4c5f6e4b8e5060eab4983d7e0599ec16f1270b (diff)
btrfs: ensure that file descriptor used with subvol ioctls is a dir
commit 325c50e3cebb9208009083e841550f98a863bfa0 upstream. If the subvol/snapshot create/destroy ioctls are passed a regular file with execute permissions set, we'll eventually Oops while trying to do inode->i_op->lookup via lookup_one_len. This patch ensures that the file descriptor refers to a directory. Fixes: cb8e70901d (Btrfs: Fix subvolume creation locking rules) Fixes: 76dda93c6a (Btrfs: add snapshot/subvolume destroy ioctl) Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'Documentation/development-process')
0 files changed, 0 insertions, 0 deletions