Re: [PATCH] Btrfs: don't use src fd for printk

2016-03-31 Thread David Sterba
On Fri, Mar 25, 2016 at 10:02:41AM -0400, Josef Bacik wrote: > The fd we pass in may not be on a btrfs file system, so don't try to do > BTRFS_I() on it. Thanks, > > Signed-off-by: Josef Bacik Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" i

[PATCH] Btrfs: don't use src fd for printk

2016-03-25 Thread Josef Bacik
The fd we pass in may not be on a btrfs file system, so don't try to do BTRFS_I() on it. Thanks, Signed-off-by: Josef Bacik --- fs/btrfs/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 8bbecda..b0d1345 100644 --- a/fs/btrfs/i