aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index a16df2d435fe..86a8451d10fc 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -2723,7 +2723,7 @@ xfs_iunpin(
2723 2723
2724 /* make sync come back and flush this inode */ 2724 /* make sync come back and flush this inode */
2725 if (vp) { 2725 if (vp) {
2726 struct inode *inode = LINVFS_GET_IP(vp); 2726 struct inode *inode = vn_to_inode(vp);
2727 2727
2728 if (!(inode->i_state & I_NEW)) 2728 if (!(inode->i_state & I_NEW))
2729 mark_inode_dirty_sync(inode); 2729 mark_inode_dirty_sync(inode);
@@ -3519,7 +3519,7 @@ xfs_iaccess(
3519{ 3519{
3520 int error; 3520 int error;
3521 mode_t orgmode = mode; 3521 mode_t orgmode = mode;
3522 struct inode *inode = LINVFS_GET_IP(XFS_ITOV(ip)); 3522 struct inode *inode = vn_to_inode(XFS_ITOV(ip));
3523 3523
3524 if (mode & S_IWUSR) { 3524 if (mode & S_IWUSR) {
3525 umode_t imode = inode->i_mode; 3525 umode_t imode = inode->i_mode;