linux/fs/f2fs/file.c
Jaegeuk Kim a50e10af2f f2fs: check the generic conditions first
[ Upstream commit e23ab8028d ]

Let's return errors caught by the generic checks. This fixes generic/494 where
it expects to see EBUSY by setattr_prepare instead of EINVAL by f2fs for active
swapfile.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-20 18:30:47 +02:00

5278 lines
127 KiB