aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_inode_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
-rw-r--r--fs/xfs/libxfs/xfs_inode_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_fork.c b/fs/xfs/libxfs/xfs_inode_fork.c
index 0defbd02f62d..0bf1c747439d 100644
--- a/fs/xfs/libxfs/xfs_inode_fork.c
+++ b/fs/xfs/libxfs/xfs_inode_fork.c
@@ -120,7 +120,7 @@ xfs_iformat_fork(
120 return -EFSCORRUPTED; 120 return -EFSCORRUPTED;
121 } 121 }
122 122
123 switch (ip->i_d.di_mode & S_IFMT) { 123 switch (VFS_I(ip)->i_mode & S_IFMT) {
124 case S_IFIFO: 124 case S_IFIFO:
125 case S_IFCHR: 125 case S_IFCHR:
126 case S_IFBLK: 126 case S_IFBLK: