diff options
| author | Darrick J. Wong <[email protected]> | 2024-04-15 21:54:28 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-04-15 21:58:48 +0000 |
| commit | 84c14ee39dd388d73054181c70b3f42af7ddc238 (patch) | |
| tree | bdeb679c31b2148108427b95a06abf42a57ff026 /fs/xfs/xfs_inode.h | |
| parent | xfs: hide private inodes from bulkstat and handle functions (diff) | |
| download | kernel-84c14ee39dd388d73054181c70b3f42af7ddc238.tar.gz kernel-84c14ee39dd388d73054181c70b3f42af7ddc238.zip | |
xfs: create temporary files and directories for online repair
Teach the online repair code how to create temporary files or
directories. These temporary files can be used to stage reconstructed
information until we're ready to perform an atomic extent swap to commit
the new metadata.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
| -rw-r--r-- | fs/xfs/xfs_inode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index f559e68ee707..596eec715675 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -616,6 +616,8 @@ extern struct kmem_cache *xfs_inode_cache; bool xfs_inode_needs_inactive(struct xfs_inode *ip); +int xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip); + void xfs_end_io(struct work_struct *work); int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); |
