aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index bb753b359bee..d3061054bad2 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -865,7 +865,7 @@ xfs_mountfs(
865 865
866 ASSERT(rip != NULL); 866 ASSERT(rip != NULL);
867 867
868 if (unlikely(!S_ISDIR(rip->i_d.di_mode))) { 868 if (unlikely(!S_ISDIR(VFS_I(rip)->i_mode))) {
869 xfs_warn(mp, "corrupted root inode %llu: not a directory", 869 xfs_warn(mp, "corrupted root inode %llu: not a directory",
870 (unsigned long long)rip->i_ino); 870 (unsigned long long)rip->i_ino);
871 xfs_iunlock(rip, XFS_ILOCK_EXCL); 871 xfs_iunlock(rip, XFS_ILOCK_EXCL);