]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove unused mutex from struct 'btrfs_fs_info'
authorByongho Lee <bhlee.kernel@gmail.com>
Fri, 10 Jul 2015 04:10:26 +0000 (13:10 +0900)
committerChris Mason <clm@fb.com>
Sun, 9 Aug 2015 14:34:27 +0000 (07:34 -0700)
commit4e44810da81ccce48805a149cc275b7f082dfbf5
tree4e65c171448f013eddcdad3075b06608f0fc24f9
parent0f3de73962bd70eb54b85ba78d691d9382b27faf
Btrfs: remove unused mutex from struct 'btrfs_fs_info'

The code using 'ordered_extent_flush_mutex' mutex has removed by below
commit.
 - e721bdf4795be75bfae51db346657789dcda4bc0
   btrfs: disable strict file flushes for renames and truncates
But the mutex still lives in struct 'btrfs_fs_info'.

So, this patch removes the mutex from struct 'btrfs_fs_info' and its
initialization code.

Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c