Send: minor cleanups, add RO checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: send: clean up dead codefs/ | +8 | 0 replies | |
| 2/3 | btrfs: remove unused mnt from send_ctxfs/ | +0 | 0 replies | |
| 3/3 | btrfs: Check read-only status of roots during sendfs/ fs/ fs/ | +79 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Send: minor cleanups, add RO checks
First two patches are trivial cleanups that I've spotted while reading send.c, can be applied independently.
The third patch contains the important bits, safety checks that the subvolumes involved in send do not accidentally lose the RO status. I haven't seen this documented anywhere that this is mandatory, implied from how I assume send works. Please let me know if this is wrong.
David Sterba (3):
btrfs: send: clean up dead code
btrfs: remove unused mnt from send_ctx
btrfs: Check read-only status of roots during send
fs/btrfs/ctree.h | 6 +++ fs/btrfs/ioctl.c | 22 +++++++++- fs/btrfs/send.c | 116 +++++++++++++++++++++++++++++------------------------- 3 files changed, 87 insertions(+), 57 deletions(-)
Signature · 1 line
1.7.9