aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-08-13 07:39:35 +0000
committerChandan Babu R <[email protected]>2024-09-03 04:37:37 +0000
commit5d3ca6261121486d4665816622ec1974bf4cb8b2 (patch)
treecab4ff6cd9f334cd76bfc90c1133ae27ab4e32c0 /fs/xfs/xfs_inode.h
parentxfs: remove the i_mode check in xfs_release (diff)
downloadkernel-5d3ca6261121486d4665816622ec1974bf4cb8b2.tar.gz
kernel-5d3ca6261121486d4665816622ec1974bf4cb8b2.zip
xfs: refactor f_op->release handling
Currently f_op->release is split in not very obvious ways. Fix that by folding xfs_release into xfs_file_release. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r--fs/xfs/xfs_inode.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index 1908409968db..98fc67231eb8 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -513,7 +513,6 @@ enum layout_break_reason {
#define XFS_INHERIT_GID(pip) \
(xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
-int xfs_release(struct xfs_inode *ip);
int xfs_inactive(struct xfs_inode *ip);
int xfs_lookup(struct xfs_inode *dp, const struct xfs_name *name,
struct xfs_inode **ipp, struct xfs_name *ci_name);