summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-08-04 13:23:35 +1000
committerDave Chinner <david@fromorbit.com>2014-08-04 13:23:35 +1000
commitdd8c38bab0d88615e0bdf013e6de3d4345f8cda2 (patch)
tree5f8d9f22c43a490118c684dd7cb2dde9b2c4fed3 /fs/xfs/xfs_bmap_util.c
parent2667c6f935d979cea1ab7fa58568fd0fd725525f (diff)
downloadlinux-dd8c38bab0d88615e0bdf013e6de3d4345f8cda2.tar.gz
linux-dd8c38bab0d88615e0bdf013e6de3d4345f8cda2.tar.bz2
linux-dd8c38bab0d88615e0bdf013e6de3d4345f8cda2.zip
xfs: kill VN_MAPPED
Only one user, no longer needed. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.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 1b79b8c19c37..bf7e6159cfe2 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -1766,7 +1766,7 @@ xfs_swap_extents(
* vop_read (or write in the case of autogrow) they block on the iolock
* until we have switched the extents.
*/
- if (VN_MAPPED(VFS_I(ip))) {
+ if (mapping_mapped(VFS_I(ip)->i_mapping)) {
error = -EBUSY;
goto out_unlock;
}