summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorChristoph Hellwig2017-10-19 20:07:09 +0200
committerDarrick J. Wong2017-10-27 00:38:27 +0200
commit42b67dc6ffbf2701cfc578b3e706d560a80b6674 (patch)
treed9334a0fe488d7a46a22132edddaa79ea4849799 /fs/xfs/xfs_log_recover.c
parentxfs: remove XFS_BMAP_TRACE_EXLIST (diff)
downloadkernel-qcow2-linux-42b67dc6ffbf2701cfc578b3e706d560a80b6674.tar.gz
kernel-qcow2-linux-42b67dc6ffbf2701cfc578b3e706d560a80b6674.tar.xz
kernel-qcow2-linux-42b67dc6ffbf2701cfc578b3e706d560a80b6674.zip
xfs: remove the never fully implemented UUID fork format
Remove the dead code dealing with the UUID fork format that was never implemented in Linux (and neither in IRIX as far as I know). Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index ee34899396b2..4e48e0534345 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3163,16 +3163,8 @@ xlog_recover_inode_pass2(
}
fields = in_f->ilf_fields;
- switch (fields & (XFS_ILOG_DEV | XFS_ILOG_UUID)) {
- case XFS_ILOG_DEV:
+ if (fields & XFS_ILOG_DEV)
xfs_dinode_put_rdev(dip, in_f->ilf_u.ilfu_rdev);
- break;
- case XFS_ILOG_UUID:
- memcpy(XFS_DFORK_DPTR(dip),
- &in_f->ilf_u.ilfu_uuid,
- sizeof(uuid_t));
- break;
- }
if (in_f->ilf_size == 2)
goto out_owner_change;