diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 1d5c28b144ae..663ff9e517fd 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -237,7 +237,7 @@ xfs_inotobp( | |||
237 | int error; | 237 | int error; |
238 | 238 | ||
239 | imap.im_blkno = 0; | 239 | imap.im_blkno = 0; |
240 | error = xfs_imap(mp, tp, ino, &imap, imap_flags | XFS_IMAP_LOOKUP); | 240 | error = xfs_imap(mp, tp, ino, &imap, imap_flags); |
241 | if (error) | 241 | if (error) |
242 | return error; | 242 | return error; |
243 | 243 | ||
@@ -868,8 +868,7 @@ xfs_iread( | |||
868 | * Get pointers to the on-disk inode and the buffer containing it. | 868 | * Get pointers to the on-disk inode and the buffer containing it. |
869 | */ | 869 | */ |
870 | imap.im_blkno = bno; | 870 | imap.im_blkno = bno; |
871 | error = xfs_imap(mp, tp, ip->i_ino, &imap, | 871 | error = xfs_imap(mp, tp, ip->i_ino, &imap, imap_flags); |
872 | XFS_IMAP_LOOKUP | imap_flags); | ||
873 | if (error) | 872 | if (error) |
874 | goto out_destroy_inode; | 873 | goto out_destroy_inode; |
875 | 874 | ||