Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-block
[platform/kernel/linux-arm64.git] / fs / xfs / xfs_aops.c
index 1b19b9c..db2cfb0 100644 (file)
@@ -1217,7 +1217,7 @@ __xfs_get_blocks(
                lockmode = XFS_ILOCK_EXCL;
                xfs_ilock(ip, lockmode);
        } else {
-               lockmode = xfs_ilock_map_shared(ip);
+               lockmode = xfs_ilock_data_map_shared(ip);
        }
 
        ASSERT(offset <= mp->m_super->s_maxbytes);