[PATCH 0/3] Send: minor cleanups, add RO checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.7.9

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux