mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] statx: Update offset commentary for struct statx
@ 2024-05-29  8:17 John Garry
  2024-05-29  8:42 ` Christian Brauner
  0 siblings, 1 reply; 3+ messages in thread
From: John Garry @ 2024-05-29  8:17 UTC (permalink / raw)
  To: brauner, viro, jack
  Cc: kent.overstreet, linux-kernel, linux-fsdevel, adilger, ebiggers,
	John Garry

In commit 2a82bb02941f ("statx: stx_subvol"), a new member was added to
struct statx, but the offset comment was not correct. Update it.

Signed-off-by: John Garry <john.g.garry@oracle.com>

diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h
index 67626d535316..95770941ee2c 100644
--- a/include/uapi/linux/stat.h
+++ b/include/uapi/linux/stat.h
@@ -126,8 +126,8 @@ struct statx {
 	__u64	stx_mnt_id;
 	__u32	stx_dio_mem_align;	/* Memory buffer alignment for direct I/O */
 	__u32	stx_dio_offset_align;	/* File offset alignment for direct I/O */
-	__u64	stx_subvol;	/* Subvolume identifier */
 	/* 0xa0 */
+	__u64	stx_subvol;	/* Subvolume identifier */
 	__u64	__spare3[11];	/* Spare space for future expansion */
 	/* 0x100 */
 };
-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] statx: Update offset commentary for struct statx
  2024-05-29  8:17 [PATCH] statx: Update offset commentary for struct statx John Garry
@ 2024-05-29  8:42 ` Christian Brauner
  2024-05-29 20:02   ` Konstantin Ryabitsev
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Brauner @ 2024-05-29  8:42 UTC (permalink / raw)
  To: John Garry
  Cc: viro, jack, kent.overstreet, linux-kernel, linux-fsdevel,
	adilger, ebiggers

On Wed, May 29, 2024 at 08:17:25AM +0000, John Garry wrote:
> In commit 2a82bb02941f ("statx: stx_subvol"), a new member was added to
> struct statx, but the offset comment was not correct. Update it.
> 
> Signed-off-by: John Garry <john.g.garry@oracle.com>
> 
> diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h
> index 67626d535316..95770941ee2c 100644
> --- a/include/uapi/linux/stat.h
> +++ b/include/uapi/linux/stat.h
> @@ -126,8 +126,8 @@ struct statx {
>  	__u64	stx_mnt_id;
>  	__u32	stx_dio_mem_align;	/* Memory buffer alignment for direct I/O */
>  	__u32	stx_dio_offset_align;	/* File offset alignment for direct I/O */
> -	__u64	stx_subvol;	/* Subvolume identifier */
>  	/* 0xa0 */
> +	__u64	stx_subvol;	/* Subvolume identifier */
>  	__u64	__spare3[11];	/* Spare space for future expansion */
>  	/* 0x100 */
>  };
> -- 
> 2.31.1
> 

Thanks, applied.
But note that your patch format seems to have tripped b4. I had to apply
it manually.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] statx: Update offset commentary for struct statx
  2024-05-29  8:42 ` Christian Brauner
@ 2024-05-29 20:02   ` Konstantin Ryabitsev
  0 siblings, 0 replies; 3+ messages in thread
From: Konstantin Ryabitsev @ 2024-05-29 20:02 UTC (permalink / raw)
  To: Christian Brauner
  Cc: John Garry, viro, jack, kent.overstreet, linux-kernel,
	linux-fsdevel, adilger, ebiggers

On Wed, May 29, 2024 at 10:42:48AM GMT, Christian Brauner wrote:
> But note that your patch format seems to have tripped b4. I had to apply
> it manually.

Looks like it was some mail relay that QP-encoded DKIM headers.
I've committed a fix for it.

Cheers,
-K

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-29 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29  8:17 [PATCH] statx: Update offset commentary for struct statx John Garry
2024-05-29  8:42 ` Christian Brauner
2024-05-29 20:02   ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®