• Yan Zheng's avatar
    Btrfs: mount ro and remount support · c146afad
    Yan Zheng authored
    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: default avatarYan Zheng <zheng.yan@oracle.com>