btrfs: add write protection to SET_FEATURES ioctl
commit 7ab19625 upstream. Perform the want_write check if we get far enough to do any writes. Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment