random fix for btrfs_ioctl()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Btrfs: pass root object into btrfs_ioctl_{start, wait}_sync()fs/ | +6 | 0 replies | |
| 2/9 | Btrfs: don't start a new transaction when starting syncfs/ fs/ | +18 | 0 replies | |
| 3/9 | Btrfs: fix wrong return value of btrfs_wait_for_commit()fs/ | +8 | 0 replies | |
| 4/9 | Btrfs: get write access when setting the default subvolumefs/ | +28 | 0 replies | |
| 5/9 | Btrfs: get write access when doing resize fsfs/ | +8 | 0 replies | |
| 6/9 | Btrfs: get write access when removing a devicefs/ | +7 | 0 replies | |
| 7/9 | Btrfs: get write access for scrubfs/ | +13 | 0 replies | |
| 8/9 | Btrfs: get write access for qgroup operationsfs/ | +48 | 0 replies | |
| 9/9 | Btrfs: get write access for adding devicefs/ fs/ fs/ +1 more | +83 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] random fix for btrfs_ioctl()
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(-)
Signature · 1 line
1.7.11.7