Re: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns subvolume information

2018-05-15 Thread Misono Tomohiro
com>; linux-btrfs@vger.kernel.org >> Subject: Re: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns >> subvolume information >> >> On 2018/05/15 15:31, Gu, Jinxiang/顾 金香 wrote: >>> Hi, >>> >>>> -Original Message- >>>

RE: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns subvolume information

2018-05-15 Thread Gu, Jinxiang
ehalf Of Tomohiro > >> Misono > >> Sent: Friday, May 11, 2018 3:26 PM > >> To: linux-btrfs@vger.kernel.org > >> Subject: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns > >> subvolume information > >> > >> Add new unp

Re: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns subvolume information

2018-05-15 Thread Misono Tomohiro
ger.kernel.org >> Subject: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns >> subvolume information >> >> Add new unprivileged ioctl BTRFS_IOC_GET_SUBVOL_INFO which returns the >> information of subvolume containing this inode. >> (i.e. returns the i

RE: [PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns subvolume information

2018-05-15 Thread Gu, Jinxiang
Hi, > -Original Message- > From: linux-btrfs-ow...@vger.kernel.org > [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Tomohiro Misono > Sent: Friday, May 11, 2018 3:26 PM > To: linux-btrfs@vger.kernel.org > Subject: [PATCH v4 1/3] btrfs: Add unprivileged i

[PATCH v4 1/3] btrfs: Add unprivileged ioctl which returns subvolume information

2018-05-11 Thread Tomohiro Misono
Add new unprivileged ioctl BTRFS_IOC_GET_SUBVOL_INFO which returns the information of subvolume containing this inode. (i.e. returns the information in ROOT_ITEM and ROOT_BACKREF.) Signed-off-by: Tomohiro Misono --- fs/btrfs/ioctl.c | 129