diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:59:04 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-09-17 18:55:00 -0700 |
commit | 4a928b6bde47aff94e72e01b154e382d20e9aa63 (patch) | |
tree | 68b35baf5a5143037af19c219c053f9aa5623988 /fs/xfs/xfs_inode.h | |
parent | c2a96786f6a8c3dc5ad4d5b9c78628ff1aa893ae (diff) |
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 <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 8c66bc8305a0..a8eaf18b5310 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -518,6 +518,7 @@ bool xfs_inode_needs_inactive(struct xfs_inode *ip); int xfs_iunlink_init(struct xfs_perag *pag); void xfs_iunlink_destroy(struct xfs_perag *pag); +int xfs_iunlink(struct xfs_trans *tp, struct xfs_inode *ip); void xfs_end_io(struct work_struct *work); |