[BACK]Return to vfs_syscalls_30.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / common

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/compat/common/vfs_syscalls_30.c between version 1.33 and 1.33.34.1

version 1.33, 2010/11/19 06:44:35 version 1.33.34.1, 2014/12/29 16:35:51
Line 356  compat_30_sys_getfh(struct lwp *l, const
Line 356  compat_30_sys_getfh(struct lwp *l, const
         }          }
         NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);          NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | TRYEMULROOT, pb);
         error = namei(&nd);          error = namei(&nd);
         if (error)          if (error) {
                   pathbuf_destroy(pb);
                 return (error);                  return (error);
           }
         vp = nd.ni_vp;          vp = nd.ni_vp;
           pathbuf_destroy(pb);
   
         sz = sizeof(struct compat_30_fhandle);          sz = sizeof(struct compat_30_fhandle);
         error = vfs_composefh(vp, (void *)&fh, &sz);          error = vfs_composefh(vp, (void *)&fh, &sz);
         vput(vp);          vput(vp);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.34.1

CVSweb <webmaster@jp.NetBSD.org>