linux/fs/xfs
Christoph Hellwig dc68c0f601 xfs: fix the zoned RT growfs check for zone alignment
The grofs code for zoned RT subvolums already tries to check for zone
alignment, but gets it wrong by using the old instead of the new mount
structure.

Fixes: 01b71e64bb ("xfs: support growfs on zoned file systems")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Cc: stable@vger.kernel.org # v6.15
Signed-off-by: Carlos Maiolino <cem@kernel.org>
2025-12-17 10:27:02 +01:00
..
libxfs xfs: validate that zoned RT devices are zone aligned 2025-12-17 10:27:02 +01:00
scrub xfs: fix a UAF problem in xattr repair 2025-12-16 08:50:00 +01:00
Kconfig xfs: XFS_ONLINE_SCRUB_STATS should depend on DEBUG_FS 2025-10-21 09:52:59 +02:00
Makefile xfs: export zone stats in /proc/*/mountstats 2025-03-03 08:17:10 -07:00
xfs_acl.c
xfs_acl.h
xfs_aops.c vfs-6.19-rc1.folio 2025-12-01 10:26:38 -08:00
xfs_aops.h xfs: implement direct writes to zoned RT devices 2025-03-03 08:17:07 -07:00
xfs_attr_inactive.c xfs: remove bp->b_error check in xfs_attr3_root_inactive 2025-01-13 14:56:15 +01:00
xfs_attr_item.c xfs: fix stupid compiler warning 2025-12-16 08:50:07 +01:00
xfs_attr_item.h xfs: don't use a xfs_log_iovec for attr_item names and values 2025-07-24 17:30:15 +02:00
xfs_attr_list.c
xfs_bio_io.c xfs: simplify xfs_rw_bdev 2025-05-07 07:31:07 -06:00
xfs_bmap_item.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_bmap_item.h xfs: add helpers to compute log item overhead 2025-05-07 14:25:30 -07:00
xfs_bmap_util.c xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_bmap_util.h xfs: implement buffered writes to zoned RT devices 2025-03-03 08:17:07 -07:00
xfs_buf_item_recover.c xfs: track the number of blocks in each buftarg 2025-09-22 12:55:20 +02:00
xfs_buf_item.c xfs: fix a memory leak in xfs_buf_item_init() 2025-12-16 08:50:11 +01:00
xfs_buf_item.h xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_buf_mem.c xfs: compute buffer address correctly in xmbuf_map_backing_mem 2025-04-14 11:22:52 +02:00
xfs_buf_mem.h xfs: cleanup mapping tmpfs folios into the buffer cache 2025-03-10 14:29:44 +01:00
xfs_buf.c xfs: don't set bt_nr_sectors to a negative number 2025-10-22 10:04:39 +02:00
xfs_buf.h xfs: don't set bt_nr_sectors to a negative number 2025-10-22 10:04:39 +02:00
xfs_dahash_test.c
xfs_dahash_test.h
xfs_dir2_readdir.c
xfs_discard.c xfs: ignore discard return value 2025-12-16 08:49:56 +01:00
xfs_discard.h xfs: ignore discard return value 2025-12-16 08:49:56 +01:00
xfs_dquot_item_recover.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_dquot_item.c xfs: remove xfs_dqunlock and friends 2025-11-11 11:45:57 +01:00
xfs_dquot_item.h
xfs_dquot.c xfs: move xfs_dquot_tree calls into xfs_qm_dqget_cache_{lookup,insert} 2025-11-11 11:45:58 +01:00
xfs_dquot.h xfs: remove xfs_qm_dqput and optimize dropping dquot references 2025-11-11 11:45:58 +01:00
xfs_drain.c
xfs_drain.h
xfs_error.c xfs: constify xfs_errortag_random_default 2025-09-19 18:03:08 +02:00
xfs_error.h xfs: remove pointless externs in xfs_error.h 2025-09-18 17:32:02 +02:00
xfs_exchmaps_item.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_exchmaps_item.h
xfs_exchrange.c xfs: don't call remap_verify_area with sb write protection held 2025-01-24 12:08:50 +01:00
xfs_exchrange.h
xfs_export.c
xfs_export.h
xfs_extent_busy.c xfs: implement zoned garbage collection 2025-03-03 08:17:07 -07:00
xfs_extent_busy.h xfs: don't allocate the xfs_extent_busy structure for zoned RTGs 2025-07-18 17:42:31 +02:00
xfs_extfree_item.c xfs: remove the xfs_efi_log_format_64_t typedef 2025-09-16 12:25:05 +02:00
xfs_extfree_item.h xfs: remove the xfs_efd_log_format_t typedef 2025-09-16 12:25:05 +02:00
xfs_file.c xfs: fix XFS_ERRTAG_FORCE_ZERO_RANGE for zoned file system 2025-12-16 09:21:38 +01:00
xfs_file.h
xfs_filestream.c xfs: free the item in xfs_mru_cache_insert on failure 2025-05-14 19:00:12 +02:00
xfs_filestream.h
xfs_fsmap.c xfs: return the allocated transaction from xfs_trans_alloc_empty 2025-07-24 17:30:13 +02:00
xfs_fsmap.h
xfs_fsops.c xfs: remove the flags argument to xfs_buf_read_uncached 2025-03-18 14:47:45 +01:00
xfs_fsops.h xfs: support reserved blocks for the rt extent counter 2025-03-03 08:16:43 -07:00
xfs_globals.c xfs: remove deprecated sysctl knobs 2025-09-05 08:48:23 -07:00
xfs_handle.c xfs: convert xfs_open_by_handle() to FD_PREPARE() 2025-11-28 12:42:33 +01:00
xfs_handle.h
xfs_health.c xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_hooks.c
xfs_hooks.h
xfs_icache.c xfs: new code for v6.19 2025-12-03 20:19:38 -08:00
xfs_icache.h
xfs_icreate_item.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_icreate_item.h
xfs_inode_item_recover.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_inode_item.c xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_inode_item.h xfs: rework datasync tracking and execution 2025-09-23 15:12:43 +02:00
xfs_inode.c xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_inode.h xfs: disallow atomic writes on DAX 2025-08-11 14:03:44 +02:00
xfs_ioctl.c xfs: use super write guard in xfs_file_ioctl() 2025-11-05 22:59:27 +01:00
xfs_ioctl.h tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
xfs_ioctl32.c
xfs_ioctl32.h
xfs_iomap.c vfs-6.19-rc1.iomap 2025-12-01 08:14:00 -08:00
xfs_iomap.h iomap: replace iomap_folio_ops with iomap_write_ops 2025-07-14 10:51:33 +02:00
xfs_iops.c xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_iops.h xfs: refine atomic write size check in xfs_file_write_iter() 2025-05-07 14:25:31 -07:00
xfs_itable.c xfs: remove XFS_IBULK_SAME_AG 2025-08-11 14:03:31 +02:00
xfs_itable.h xfs: remove XFS_IBULK_SAME_AG 2025-08-11 14:03:31 +02:00
xfs_iunlink_item.c
xfs_iunlink_item.h
xfs_iwalk.c xfs: return the allocated transaction from xfs_trans_alloc_empty 2025-07-24 17:30:13 +02:00
xfs_iwalk.h
xfs_linux.h xfs: remove deprecated sysctl knobs 2025-09-05 08:48:23 -07:00
xfs_log_cil.c xfs: don't use xlog_in_core_2_t in struct xlog_in_core 2025-11-12 11:09:25 +01:00
xfs_log_priv.h xfs: remove the xlog_in_core_t typedef 2025-11-12 11:09:25 +01:00
xfs_log_recover.c xfs: remove the xlog_rec_header_t typedef 2025-11-12 11:09:25 +01:00
xfs_log.c xfs: remove the xlog_in_core_t typedef 2025-11-12 11:09:25 +01:00
xfs_log.h xfs: move the XLOG_REG_ constants out of xfs_log_format.h 2025-09-16 14:08:47 +02:00
xfs_message.c xfs: remove the EXPERIMENTAL warning for pNFS 2025-05-14 12:42:12 +02:00
xfs_message.h xfs: remove the EXPERIMENTAL warning for pNFS 2025-05-14 12:42:12 +02:00
xfs_mount.c xfs: remove deprecated mount options 2025-09-05 08:48:23 -07:00
xfs_mount.h xfs: cache open zone in inode->i_private 2025-10-21 11:32:50 +02:00
xfs_mru_cache.c fs: WQ_PERCPU added to alloc_workqueue users 2025-09-19 16:15:07 +02:00
xfs_mru_cache.h
xfs_notify_failure.c xfs: use bt_nr_sectors in xfs_dax_translate_range 2025-09-22 12:55:20 +02:00
xfs_notify_failure.h
xfs_pnfs.c xfs: remove the EXPERIMENTAL warning for pNFS 2025-05-14 12:42:12 +02:00
xfs_pnfs.h
xfs_pwork.c
xfs_pwork.h
xfs_qm_bhv.c xfs: return the dquot unlocked from xfs_qm_dqget 2025-11-11 11:45:58 +01:00
xfs_qm_syscalls.c xfs: remove q_qlock locking in xfs_qm_scall_setqlim 2025-11-11 11:45:58 +01:00
xfs_qm.c xfs: reduce ilock roundtrips in xfs_qm_vop_dqalloc 2025-11-11 11:45:58 +01:00
xfs_qm.h xfs: make qi_dquots a 64-bit value 2025-11-11 11:45:57 +01:00
xfs_quota.h
xfs_quotaops.c xfs: make qi_dquots a 64-bit value 2025-11-11 11:45:57 +01:00
xfs_refcount_item.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_refcount_item.h xfs: add helpers to compute log item overhead 2025-05-07 14:25:30 -07:00
xfs_reflink.c iomap: replace iomap_folio_ops with iomap_write_ops 2025-07-14 10:51:33 +02:00
xfs_reflink.h xfs: use the new ->i_state accessors 2025-10-20 20:22:27 +02:00
xfs_rmap_item.c xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_rmap_item.h xfs: add helpers to compute log item overhead 2025-05-07 14:25:30 -07:00
xfs_rtalloc.c xfs: fix the zoned RT growfs check for zone alignment 2025-12-17 10:27:02 +01:00
xfs_rtalloc.h xfs: make metabtree reservations global 2025-03-03 08:16:43 -07:00
xfs_stats.c
xfs_stats.h
xfs_super.c vfs-6.18-rc7.fixes 2025-11-17 09:11:27 -08:00
xfs_super.h
xfs_symlink.c
xfs_symlink.h
xfs_sysctl.c xfs: remove deprecated sysctl knobs 2025-09-05 08:48:23 -07:00
xfs_sysctl.h xfs: remove deprecated sysctl knobs 2025-09-05 08:48:23 -07:00
xfs_sysfs.c xfs: add tunable threshold parameter for triggering zone GC 2025-04-14 10:41:33 +02:00
xfs_sysfs.h xfs: contain more sysfs code in xfs_sysfs.c 2025-03-03 08:17:10 -07:00
xfs_trace.c xfs: add the zoned space allocator 2025-03-03 08:16:56 -07:00
xfs_trace.h xfs: don't use xlog_in_core_2_t in struct xlog_in_core 2025-11-12 11:09:25 +01:00
xfs_trans_ail.c xfs: remove the expr argument to XFS_TEST_ERROR 2025-09-18 17:32:02 +02:00
xfs_trans_buf.c xfs: add a b_iodone callback to struct xfs_buf 2025-01-14 11:38:15 +01:00
xfs_trans_dquot.c xfs: remove xfs_dqunlock and friends 2025-11-11 11:45:57 +01:00
xfs_trans_priv.h xfs: remove the leftover xfs_{set,clear}_li_failed infrastructure 2025-04-14 10:24:30 +02:00
xfs_trans.c xfs: track the number of blocks in each buftarg 2025-09-22 12:55:20 +02:00
xfs_trans.h xfs: don't use a xfs_log_iovec for ri_buf in log recovery 2025-07-24 17:30:15 +02:00
xfs_xattr.c xfs: replace strncpy with memcpy in xattr listing 2025-07-08 11:50:09 +02:00
xfs_xattr.h
xfs_zone_alloc.c xfs: new code for v6.19 2025-12-03 20:19:38 -08:00
xfs_zone_alloc.h xfs: stop passing an inode to the zone space reservation helpers 2025-07-24 17:30:14 +02:00
xfs_zone_gc.c xfs: use zi more in xfs_zone_gc_mount 2025-11-20 13:32:58 +01:00
xfs_zone_info.c xfs: rename oz_write_pointer to oz_allocated 2025-07-24 17:30:14 +02:00
xfs_zone_priv.h xfs: remove xarray mark for reclaimable zones 2025-11-12 11:10:50 +01:00
xfs_zone_space_resv.c xfs: remove xarray mark for reclaimable zones 2025-11-12 11:10:50 +01:00
xfs.h