On Wed, Sep 21, 2016 at 08:31:29AM -0400, je...@suse.com wrote:
> From: Jeff Mahoney <je...@suse.com>
> 
> 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: <sta...@vger.kernel.org> #v2.6.29+
> Signed-off-by: Jeff Mahoney <je...@suse.com>

Reviewed-by: David Sterba <dste...@suse.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to