Re: [PATCH] Deny sys_link across subvolumes.

2009-11-13 Thread Yan, Zheng
On Thu, Nov 12, 2009 at 11:00 PM, Chris Mason chris.ma...@oracle.com wrote: On Thu, Nov 12, 2009 at 04:14:26PM +0900, TARUISI Hiroaki wrote: From: Christian Parpart tra...@gentoo.org I rebased Christian Parpart's patch to deny hard link across subvolumes. Original patch modifies also

BTRFS: unreachable code found

2009-11-13 Thread Jiri Slaby
Hi, Stanse found unreachable code in btrfs_insert_some_items below (don't look at the line numbers, they are on preprocessed code). I would fix that if I knew how. Should the assignment be after the if, before the break or nowhere? 3068|int btrfs_insert_some_items(struct btrfs_trans_handle

Re: [PATCH] Btrfs: fix possible panic on unmount

2009-11-13 Thread Yan, Zheng
On Sat, Nov 14, 2009 at 1:06 AM, Josef Bacik jo...@redhat.com wrote: We can race with the unmount of an fs and the stopping of a kthread where we will free the block group before we're done using it.  The reason for this is because we do not hold a reference on the block group while its