aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-08-16 04:42:07 -0400
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-15 02:45:25 -0400
commiteb9df39daf870d6f9e9528f092d506be04ebad2f (patch)
tree77646f792ae63f00d3e08e6081e80afefe87e4e7 /fs/xfs/xfs_bmap.c
parent49ee6c911f0ae5b3a9a04e0589e3265e52f94f53 (diff)
[XFS] remove unessecary vfs argument to DM_EVENT_ENABLED
SGI-PV: 968690 SGI-Modid: xfs-linux-melb:xfs-kern:29340a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Vlad Apostolov <vapo@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 9abe93cfb5cc..ea4eab14a603 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -5811,10 +5811,9 @@ xfs_getbmap(
5811 * could misinterpret holes in a DMAPI file as true holes, 5811 * could misinterpret holes in a DMAPI file as true holes,
5812 * when in fact they may represent offline user data. 5812 * when in fact they may represent offline user data.
5813 */ 5813 */
5814 if ( (interface & BMV_IF_NO_DMAPI_READ) == 0 5814 if ((interface & BMV_IF_NO_DMAPI_READ) == 0 &&
5815 && DM_EVENT_ENABLED(vp->v_vfsp, ip, DM_EVENT_READ) 5815 DM_EVENT_ENABLED(ip, DM_EVENT_READ) &&
5816 && whichfork == XFS_DATA_FORK) { 5816 whichfork == XFS_DATA_FORK) {
5817
5818 error = XFS_SEND_DATA(mp, DM_EVENT_READ, vp, 0, 0, 0, NULL); 5817 error = XFS_SEND_DATA(mp, DM_EVENT_READ, vp, 0, 0, 0, NULL);
5819 if (error) 5818 if (error)
5820 return XFS_ERROR(error); 5819 return XFS_ERROR(error);