[XFS] remove unessecary vfs argument to DM_EVENT_ENABLED
[deliverable/linux.git] / fs / xfs / linux-2.6 / xfs_file.c
index 0d4001eafd16861daf44ef05ea0ee7200388dbf7..4fc0f58edacf815382dc8c96d47395acad514db2 100644 (file)
@@ -405,7 +405,7 @@ xfs_file_open_exec(
 
                if (!ip)
                        return -EINVAL;
-               if (DM_EVENT_ENABLED(vp->v_vfsp, ip, DM_EVENT_READ))
+               if (DM_EVENT_ENABLED(ip, DM_EVENT_READ))
                        return -XFS_SEND_DATA(mp, DM_EVENT_READ, vp,
                                               0, 0, 0, NULL);
        }
This page took 0.023708 seconds and 5 git commands to generate.