cvs commit: src/sys/compat/linux linux_file.c src/sys/compat/svr4 svr4_misc.c

Alexander Kabaev kan at FreeBSD.org
Tue Nov 18 20:12:34 PST 2003


kan         2003/11/18 20:12:32 PST

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_file.c 
    sys/compat/svr4      svr4_misc.c 
  Log:
  Do not call VOP_GETATTR in getdents function. It does not serve any
  purpose and the resulting vattr structure was ignored. In addition,
  the VOP_GETATTR call was made with no vnode lock held, resulting in
  vnode locking violation panic with debug kernels.
  
  Reported by:    truckman
  
  Approved by:    re@ (rwatson)
  
  Revision  Changes    Path
  1.83      +0 -6      src/sys/compat/linux/linux_file.c
  1.68      +0 -6      src/sys/compat/svr4/svr4_misc.c


More information about the cvs-src mailing list