]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: add FALLOC_FL_ALLOCATE_RANGE to supported flags mask
authorYouling Tang <tangyouling@kylinos.cn>
Mon, 30 Jun 2025 01:11:48 +0000 (09:11 +0800)
committerCarlos Maiolino <cem@kernel.org>
Mon, 30 Jun 2025 12:16:13 +0000 (14:16 +0200)
commit9e9b46672b1daac814b384286c21fb8332a87392
treebdd8f6f28d7cb89bb7b8de91be620139895be5b5
parent7b5f775be14ac1532c049022feadcfe44769566d
xfs: add FALLOC_FL_ALLOCATE_RANGE to supported flags mask

Add FALLOC_FL_ALLOCATE_RANGE to the set of supported fallocate flags in
XFS_FALLOC_FL_SUPPORTED. This change improves code clarity and maintains
by explicitly showing this flag in the supported flags mask.

Note that since FALLOC_FL_ALLOCATE_RANGE is defined as 0x00, this addition
has no functional modifications.

Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_file.c