Skip to content

random fix for btrfs_ioctl()

Miao Xie linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Btrfs: pass root object into btrfs_ioctl_{start, wait}_sync()fs/btrfs/ioctl.c+6 -60 replies
2/9Btrfs: don't start a new transaction when starting syncfs/btrfs/ioctl.c fs/btrfs/transaction.c+18 -90 replies
3/9Btrfs: fix wrong return value of btrfs_wait_for_commit()fs/btrfs/transaction.c+8 -70 replies
4/9Btrfs: get write access when setting the default subvolumefs/btrfs/ioctl.c+28 -120 replies
5/9Btrfs: get write access when doing resize fsfs/btrfs/ioctl.c+8 -50 replies
6/9Btrfs: get write access when removing a devicefs/btrfs/ioctl.c+7 -40 replies
7/9Btrfs: get write access for scrubfs/btrfs/ioctl.c+13 -30 replies
8/9Btrfs: get write access for qgroup operationsfs/btrfs/ioctl.c+48 -250 replies
9/9Btrfs: get write access for adding devicefs/btrfs/ioctl.c fs/btrfs/super.c fs/btrfs/volumes.c +1 more+83 -321 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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