xfs: drop fop_flags for directories
authorChristoph Hellwig <hch@lst.de>
Tue, 23 Apr 2024 12:46:07 +0000 (14:46 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 24 Apr 2024 12:46:51 +0000 (14:46 +0200)
commitf50805713a6e8bd58bb69386c60f5c922b882016
tree4096ef40cd0aeec88814d5ec7d45fdd1ed3c8bf2
parent19e048641bc6e29a4c3ba1427481f86305f3b960
xfs: drop fop_flags for directories

Directories have non of the capabilities, so drop the flags.  Note that
the current state is harmless as no one actually checks for the flags
either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240423124608.537794-3-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_file.c