Re: [PATCH 07/16] btrfs: nuke write_super from comments

2012-07-25 Thread Artem Bityutskiy
On Wed, 2012-07-25 at 09:46 -0600, cwillu wrote: > > mutex_lock(&root->fs_info->fs_devices->device_list_mutex); > > list_add_rcu(&device->dev_list, > > &root->fs_info->fs_devices->devices); > > list_add(&device->dev_alloc_list, > > Is the locking still required for approxi

Re: [PATCH 07/16] btrfs: nuke write_super from comments

2012-07-25 Thread cwillu
> diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c > index ecaad40..9f2416c 100644 > --- a/fs/btrfs/volumes.c > +++ b/fs/btrfs/volumes.c > @@ -1738,10 +1738,6 @@ int btrfs_init_new_device(struct btrfs_root *root, > char *device_path) > > device->fs_devices = root->fs_info->fs_devices;

[PATCH 07/16] btrfs: nuke write_super from comments

2012-07-25 Thread Artem Bityutskiy
From: Artem Bityutskiy The '->write_super' superblock method is gone, and this patch removes all the references to 'write_super' from btrfs. Cc: Chris Mason Cc: linux-bt...@vger.kernel.org Signed-off-by: Artem Bityutskiy --- I expect this patch to be merged via Al Viro's VFS tree. fs/btrfs/