]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: mount ro and remount support
authorYan Zheng <zheng.yan@oracle.com>
Wed, 12 Nov 2008 19:34:12 +0000 (14:34 -0500)
committerChris Mason <chris.mason@oracle.com>
Wed, 12 Nov 2008 19:34:12 +0000 (14:34 -0500)
commit3e22fc25213b17d3c5b1058287b28873fdfcd0a7
treedd217139525a521895125843ca31f61cfbb49dca
parent86c4dc25e7b11c8a883010928545db518362cb32
Btrfs: mount ro and remount support

This patch adds mount ro and remount support. The main
changes in patch are: adding btrfs_remount and related
helper function; splitting the transaction related code
out of close_ctree into btrfs_commit_super; updating
allocator to properly handle read only block group.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/super.c