aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2013-12-06 12:30:09 -0800
committerBen Myers <bpm@sgi.com>2013-12-18 15:39:30 -0600
commit309ecac8e7c937c5811ef8f0efc14b3d1bd18775 (patch)
treeb1a34a04e6ac1500e456d5d3ecca5d7cfb56a7c7 /fs/xfs/xfs_bmap_util.c
parentxfs: remove xfs_iunlock_map_shared (diff)
downloadlinux-dev-309ecac8e7c937c5811ef8f0efc14b3d1bd18775.tar.xz
linux-dev-309ecac8e7c937c5811ef8f0efc14b3d1bd18775.zip
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_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 2f32d7ee1411..460aeb87c04e 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -632,7 +632,7 @@ xfs_getbmap(
*/
}
- lock = xfs_ilock_map_shared(ip);
+ lock = xfs_ilock_data_map_shared(ip);
/*
* Don't let nex be bigger than the number of extents