Diff for /xfs-linux/xfs_bmap.c between versions 1.375 and 1.376

version 1.375, 2007/08/02 16:07:02 version 1.376, 2007/08/06 15:41:08
Line 5811  xfs_getbmap( Line 5811  xfs_getbmap(
          *      could misinterpret holes in a DMAPI file as true holes,           *      could misinterpret holes in a DMAPI file as true holes,
          *      when in fact they may represent offline user data.           *      when in fact they may represent offline user data.
          */           */
         if (   (interface & BMV_IF_NO_DMAPI_READ) == 0          if ((interface & BMV_IF_NO_DMAPI_READ) == 0 &&
             && DM_EVENT_ENABLED(vp->v_vfsp, ip, DM_EVENT_READ)              DM_EVENT_ENABLED(ip, DM_EVENT_READ) &&
             && whichfork == XFS_DATA_FORK) {              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, vp, 0, 0, 0, NULL);
                 if (error)                  if (error)
                         return XFS_ERROR(error);                          return XFS_ERROR(error);

Removed from v.1.375  
changed lines
  Added in v.1.376


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>