On Wed, Sep 21, 2016 at 08:31:29AM -0400, [email protected] wrote: > From: Jeff Mahoney <[email protected]> > > 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) > Cc: <[email protected]> #v2.6.29+ > Signed-off-by: Jeff Mahoney <[email protected]>
Reviewed-by: David Sterba <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
