diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-01-05 17:45:19 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-03-25 17:08:30 -0700 |
commit | d026ac578ed111d462ead9df92f1676c3c4fb2d0 (patch) | |
tree | b2fe6e532c5f97e51107e2e0e021c8c5909fbb3c /fs/xfs/xfs_inode.c | |
parent | 72c0b9dbb97568b0c49d2bbf85fa6eadf74f63be (diff) |
xfs: move orphan files to the orphanagerepair-dirs_2021-03-25
If we can't find a parent for a file, move it to the orphanage.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 85eb9e52b09f..9131c9fe7c32 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -962,10 +962,10 @@ xfs_droplink( /* * Increment the link count on an inode & log the change. */ -static void +void xfs_bumplink( - xfs_trans_t *tp, - xfs_inode_t *ip) + struct xfs_trans *tp, + struct xfs_inode *ip) { xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_CHG); |