[PATCH 00/10] cleanup btrfs_ioctl_setflags and btrfs_set_prop

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

 



A set of pathes to clean up btrfs_ioctl_setflags(), btrfs_set_prop_trans()
and btrfs_set_prop(). So as to avoidi duplicate code in
btrfs_ioctl_setflags() and killing of btrfs_set_prop_trans().

Anand Jain (10):
  btrfs: refactor btrfs_set_props to validate externally
  btrfs: export btrfs_set_prop
  btrfs: start transaction in btrfs_ioctl_setflags()
  btrfs: drop useless inode i_flags copy and restore
  btrfs: make a local copy of btrfs_inode flags before update
  btrfs: drop old_fsflags in btrfs_ioctl_setflags
  btrfs: drop local copy of inode i_mode
  btrfs: start transaction in xattr_handler_set_prop
  btrfs: delete unused function btrfs_set_prop_trans
  btrfs: btrfs_set_prop trans is never null

 fs/btrfs/ioctl.c | 111 ++++++++++++++++++++++-------------------------
 fs/btrfs/props.c |  56 ++++++++++--------------
 fs/btrfs/props.h |   6 ++-
 fs/btrfs/xattr.c |  26 ++++++++++-
 4 files changed, 105 insertions(+), 94 deletions(-)

-- 
2.20.1 (Apple Git-117)




[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