This patchset fixes some bugs of btrfs_ioctl(). Most of them (0004-0009) is relative to write access permission.
In these patches, the last patch(0009) modified the original process of the device insertion,and made it follow the rule of the read-only filesystem. It might be issuable, so mark it RFC. We can pull this patchset from the URL git://github.com/miaoxie/linux-btrfs.git readonly Thanks Miao --- Miao Xie (9): Btrfs: pass root object into btrfs_ioctl_{start, wait}_sync() Btrfs: don't start a new transaction when starting sync Btrfs: fix wrong return value of btrfs_wait_for_commit() Btrfs: get write access when setting the default subvolume Btrfs: get write access when doing resize fs Btrfs: get write access when removing a device Btrfs: get write access for scrub Btrfs: get write access for qgroup operations Btrfs: get write access for adding device (RFC PATCH) fs/btrfs/ioctl.c | 260 ++++++++++++++++++++++++++++++++++++------------- fs/btrfs/super.c | 5 +- fs/btrfs/transaction.c | 28 +++--- fs/btrfs/volumes.c | 26 ++--- fs/btrfs/volumes.h | 3 +- 5 files changed, 219 insertions(+), 103 deletions(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html