diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-06 15:30:09 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-12-18 16:39:30 -0500 |
commit | 309ecac8e7c937c5811ef8f0efc14b3d1bd18775 (patch) | |
tree | b1a34a04e6ac1500e456d5d3ecca5d7cfb56a7c7 /fs/xfs/xfs_aops.c | |
parent | 01f4f3277556d4f4f833371db0219b0ca11c5409 (diff) |
xfs: rename xfs_ilock_map_shared
Make it clear that we're only locking against the extent map on the data
fork. Also clean the function up a little bit.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-rw-r--r-- | fs/xfs/xfs_aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 71c8c9d2b882..a26739451b53 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c | |||
@@ -1217,7 +1217,7 @@ __xfs_get_blocks( | |||
1217 | lockmode = XFS_ILOCK_EXCL; | 1217 | lockmode = XFS_ILOCK_EXCL; |
1218 | xfs_ilock(ip, lockmode); | 1218 | xfs_ilock(ip, lockmode); |
1219 | } else { | 1219 | } else { |
1220 | lockmode = xfs_ilock_map_shared(ip); | 1220 | lockmode = xfs_ilock_data_map_shared(ip); |
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | ASSERT(offset <= mp->m_super->s_maxbytes); | 1223 | ASSERT(offset <= mp->m_super->s_maxbytes); |