This adds two new unprivileged ioctls:

1st patch: version of tree_search ioctl which only searches/returns subvolume 
related item.
2nd patch: user version of ino_lookup ioctl which also performs permission 
check.

They will be used to implement user version of "subvolume list/show" etc in 
user tools.
See each commit log for more detals.

The RFC implementation of btrfs-progs can be found in the ML titled as follows: 
  [RFC PATCH 0/7] btrfs-progs: Allow normal user to call "subvolume list/show"

Tomohiro Misono (2):
  btrfs: Add unprivileged subvolume search ioctl
  btrfs: Add unprivileged version of ino_lookup ioctl

 fs/btrfs/ioctl.c           | 472 +++++++++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/btrfs.h |  18 ++
 2 files changed, 490 insertions(+)

-- 
2.14.3

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

Reply via email to