diff options
| author | Darrick J. Wong <[email protected]> | 2024-04-15 21:54:55 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-04-15 21:58:56 +0000 |
| commit | 1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0 (patch) | |
| tree | f359020c4ae7dbfb820fb2f15cd1e67bd4da4794 /fs/xfs/xfs_inode.h | |
| parent | xfs: ask the dentry cache if it knows the parent of a directory (diff) | |
| download | kernel-1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0.tar.gz kernel-1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0.zip | |
xfs: move orphan files to the orphanage
When we're repairing a directory structure or fixing the dotdot entry of
a subdirectory, it's possible that we won't ever find a parent for the
subdirectory. When this is the case, move it to the orphanage, aka
/lost+found.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 8157ae7f8e59..18bc3d7750a0 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -625,6 +625,7 @@ void xfs_end_io(struct work_struct *work); int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); void xfs_iunlock2_remapping(struct xfs_inode *ip1, struct xfs_inode *ip2); +void xfs_bumplink(struct xfs_trans *tp, struct xfs_inode *ip); static inline bool xfs_inode_unlinked_incomplete( |
