Diff for /xfs-linux/xfs_vnodeops.c between versions 1.717 and 1.718

version 1.717, 2007/09/11 06:11:49 version 1.718, 2007/09/11 06:12:43
Line 3470  std_return: Line 3470  std_return:
 }  }
   
   
 /*  
  * xfs_fid2  
  *  
  * A fid routine that takes a pointer to a previously allocated  
  * fid structure (like xfs_fast_fid) but uses a 64 bit inode number.  
  */  
 int  int
 xfs_fid2(  xfs_fid2(
         xfs_inode_t     *ip,          xfs_inode_t     *ip,
         fid_t           *fidp)          xfs_fid_t       *xfid)
 {  {
         xfs_fid2_t      *xfid = (xfs_fid2_t *)fidp;  
   
         xfs_itrace_entry(ip);          xfs_itrace_entry(ip);
         ASSERT(sizeof(fid_t) >= sizeof(xfs_fid2_t));  
   
         xfid->fid_len = sizeof(xfs_fid2_t) - sizeof(xfid->fid_len);          xfid->fid_len = sizeof(xfs_fid_t) - sizeof(xfid->fid_len);
         xfid->fid_pad = 0;          xfid->fid_pad = 0;
         /*          /*
          * use memcpy because the inode is a long long and there's no           * use memcpy because the inode is a long long and there's no

Removed from v.1.717  
changed lines
  Added in v.1.718


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