]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/xfs_bmap.c
[XFS] cleanup vnode use in dmapi calls
[linux-2.6-omap-h63xx.git] / fs / xfs / xfs_bmap.c
index 87f6467498174e2a3c0565d4db6e4612de1f23db..19aae13b7f9555874b49f05f3cbc547ab2291c34 100644 (file)
@@ -5811,7 +5811,7 @@ xfs_getbmap(
        if ((interface & BMV_IF_NO_DMAPI_READ) == 0 &&
            DM_EVENT_ENABLED(ip, DM_EVENT_READ) &&
            whichfork == XFS_DATA_FORK) {
-               error = XFS_SEND_DATA(mp, DM_EVENT_READ, vp, 0, 0, 0, NULL);
+               error = XFS_SEND_DATA(mp, DM_EVENT_READ, ip, 0, 0, 0, NULL);
                if (error)
                        return XFS_ERROR(error);
        }