btrfs: add helper for fs_info->closing
authorDavid Sterba <dsterba@suse.cz>
Tue, 31 May 2011 16:07:27 +0000 (18:07 +0200)
committerChris Mason <chris.mason@oracle.com>
Sat, 4 Jun 2011 12:11:22 +0000 (08:11 -0400)
commit7841cb2898f66a73062c64d0ef5733dde7279e46
treeb7a94d96d44971845951a59e9fb7b5c2e30c46b3
parent4b9465cb9e3859186eefa1ca3b990a5849386320
btrfs: add helper for fs_info->closing

wrap checking of filesystem 'closing' flag and fix a few missing memory
barriers.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/scrub.c
fs/btrfs/transaction.c