Diff for /xfs-linux/xfs_vfsops.c between versions 1.537 and 1.538

version 1.537, 2007/09/10 15:51:42 version 1.538, 2007/09/11 06:12:43
Line 1483  int Line 1483  int
 xfs_vget(  xfs_vget(
         xfs_mount_t     *mp,          xfs_mount_t     *mp,
         bhv_vnode_t     **vpp,          bhv_vnode_t     **vpp,
         fid_t           *fidp)          xfs_fid_t       *xfid)
 {  {
         xfs_fid_t       *xfid = (struct xfs_fid *)fidp;  
         xfs_inode_t     *ip;          xfs_inode_t     *ip;
         int             error;          int             error;
         xfs_ino_t       ino;          xfs_ino_t       ino;
Line 1495  xfs_vget( Line 1494  xfs_vget(
          * Invalid.  Since handles can be created in user space and passed in           * Invalid.  Since handles can be created in user space and passed in
          * via gethandle(), this is not cause for a panic.           * via gethandle(), this is not cause for a panic.
          */           */
         if (xfid->xfs_fid_len != sizeof(*xfid) - sizeof(xfid->xfs_fid_len))          if (xfid->fid_len != sizeof(*xfid) - sizeof(xfid->fid_len))
                 return XFS_ERROR(EINVAL);                  return XFS_ERROR(EINVAL);
   
         ino  = xfid->xfs_fid_ino;          ino  = xfid->fid_ino;
         igen = xfid->xfs_fid_gen;          igen = xfid->fid_gen;
   
         /*          /*
          * NFS can sometimes send requests for ino 0.  Fail them gracefully.           * NFS can sometimes send requests for ino 0.  Fail them gracefully.

Removed from v.1.537  
changed lines
  Added in v.1.538


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