[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKgNAkitiDEYSZDnJ5iQ6coaE=q45BHxnG2z_bZtWs=kk+2g3w@mail.gmail.com>
Date: Mon, 4 Mar 2019 14:52:59 +0100
From: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To: Wang Shilong <wangshilong1991@...il.com>
Cc: "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
Ext4 Developers List <linux-ext4@...r.kernel.org>,
xfs <linux-xfs@...r.kernel.org>,
linux-f2fs-devel@...ts.sourceforge.net, lixi@....com,
Andreas Dilger <adilger@...ger.ca>,
Wang Shilong <wshilong@....com>,
linux-man <linux-man@...r.kernel.org>,
"Darrick J. Wong" <darrick.wong@...cle.com>
Subject: Re: [PATCH 2/2] statx.2: add project support update
Hello Wang Shilong,
On Fri, 1 Mar 2019 at 15:06, Wang Shilong <wangshilong1991@...il.com> wrote:
>
> From: Wang Shilong <wshilong@....com>
I take it that these patches relate to some API changes that are not
yet merged into the kernel, right?
Also, I think we need some accompanying info to describe project IDs.
Can you point me at any documents/resources?
Thanks,
Michael
>
> Cc: linux-man@...r.kernel.org
> Signed-off-by: Wang Shilong <wshilong@....com>
> ---
> man2/statx.2 | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/man2/statx.2 b/man2/statx.2
> index 7265d8ace..6a9dede8b 100644
> --- a/man2/statx.2
> +++ b/man2/statx.2
> @@ -82,6 +82,7 @@ struct statx {
> containing the filesystem where the file resides */
> __u32 stx_dev_major; /* Major ID */
> __u32 stx_dev_minor; /* Minor ID */
> + __u32 stx_projid; /* Project ID of file */
> };
> .EE
> .in
> @@ -261,6 +262,7 @@ STATX_SIZE Want stx_size
> STATX_BLOCKS Want stx_blocks
> STATX_BASIC_STATS [All of the above]
> STATX_BTIME Want stx_btime
> +STATX_PROJID Want stx_projid
> STATX_ALL [All currently available fields]
> .TE
> .in
> @@ -412,6 +414,9 @@ The device on which this file (inode) resides.
> .IR stx_rdev_major " and " stx_rdev_minor
> The device that this file (inode) represents if the file is of block or
> character device type.
> +.TP
> +.I stx_projid
> +The file's project ID.
> .PP
> For further information on the above fields, see
> .BR inode (7).
> @@ -458,6 +463,9 @@ See
> .TP
> .B STATX_ATTR_ENCRYPTED
> A key is required for the file to be encrypted by the filesystem.
> +.TP
> +.B STATX_ATTR_PROJINHERIT
> +Sub directories or files will inherit parent's project ID automatically.
> .SH RETURN VALUE
> On success, zero is returned.
> On error, \-1 is returned, and
> --
> 2.19.1
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Powered by blists - more mailing lists