diff options
| author | 2024-07-02 11:22:40 -0700 | |
|---|---|---|
| committer | 2024-07-02 11:36:58 -0700 | |
| commit | b8a6107921ca799330ff3efdd154b7fa0ff54582 (patch) | |
| tree | 79498697936775a21a909166efe98a303e98321c /fs/xfs/libxfs/xfs_inode_util.h | |
| parent | xfs: wrap inode creation dqalloc calls (diff) | |
| download | wireguard-linux-b8a6107921ca799330ff3efdd154b7fa0ff54582.tar.xz wireguard-linux-b8a6107921ca799330ff3efdd154b7fa0ff54582.zip | |
xfs: hoist xfs_iunlink to libxfs
Move xfs_iunlink and xfs_iunlink_remove to libxfs.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_util.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_inode_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_util.h b/fs/xfs/libxfs/xfs_inode_util.h index bf5393db4fde..42a032afe3ca 100644 --- a/fs/xfs/libxfs/xfs_inode_util.h +++ b/fs/xfs/libxfs/xfs_inode_util.h @@ -47,4 +47,8 @@ void xfs_trans_ichgtime(struct xfs_trans *tp, struct xfs_inode *ip, int flags); void xfs_inode_init(struct xfs_trans *tp, const struct xfs_icreate_args *args, struct xfs_inode *ip); +int xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip); +int xfs_iunlink_remove(struct xfs_trans *tp, struct xfs_perag *pag, + struct xfs_inode *ip); + #endif /* __XFS_INODE_UTIL_H__ */ |
