]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
xfs: reject swapon for inodes on a zoned file system earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Aug 2025 05:06:45 +0000 (07:06 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 19 Aug 2025 12:38:39 +0000 (14:38 +0200)
commit8e5a2441e18640fb22a25fd097368957bf5cab91
tree0c643f288d6115972200a4ebae5a9abe63e8a65e
parent7d523255f524c95208cefef4edaed149615ff96c
xfs: reject swapon for inodes on a zoned file system earlier

No point in going down into the iomap mapping loop when we know it
will be rejected.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_aops.c