All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: fix bs_xflags copied from wrong compat field
@ 2026-10-16  2:11 Reid D
  2026-10-16  5:08 ` Darrick J. Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Reid D @ 2026-10-16  2:11 UTC (permalink / raw)
  To: Carlos Maiolino, linux-xfs, linux-kernel

From: Reid Downing (b1nv0id) <skibletz@gmail.com>
Subject: [PATCH] xfs: fix bs_xflags copied from wrong compat field

Read bs_xflags from the correct compat field in
xfs_ioctl32_bstat_copyin().

Signed-off-by: Reid Downing (b1nv0id) <skibletz@gmail.com>
---
 fs/xfs/xfs_ioctl32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/xfs/xfs_ioctl32.c
+++ b/fs/xfs/xfs_ioctl32.c
@@ -124,7 +124,7 @@
            xfs_ioctl32_bstime_copyin(&bstat->bs_mtime, &bstat32->bs_mtime) ||
            xfs_ioctl32_bstime_copyin(&bstat->bs_ctime, &bstat32->bs_ctime) ||
            get_user(bstat->bs_blocks,  &bstat32->bs_size)      ||
-           get_user(bstat->bs_xflags,  &bstat32->bs_size)      ||
+           get_user(bstat->bs_xflags,  &bstat32->bs_xflags)    ||
            get_user(bstat->bs_extsize, &bstat32->bs_extsize)   ||
            get_user(bstat->bs_extents, &bstat32->bs_extents)   ||
            get_user(bstat->bs_gen,     &bstat32->bs_gen)       ||

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

end of thread, other threads:[~2026-10-28 15:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16  2:11 [PATCH] xfs: fix bs_xflags copied from wrong compat field Reid D
2026-10-16  5:08 ` Darrick J. Wong
2026-10-16 14:26   ` Eric Sandeen
2026-10-27 15:18     ` Christoph Hellwig
2026-10-27 16:26       ` Eric Sandeen
2026-10-28 15:17         ` Christoph Hellwig
2026-10-27 15:18 ` Christoph Hellwig
2026-10-27 15:31 ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.