Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2000 10:51:55 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_init.c
Message-ID:  <200009061751.KAA22994@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2000/09/06 10:51:55 PDT

  Modified files:
    sys/kern             vfs_init.c 
  Log:
  Do not panic on an uninitialized VOP_xxx() call.  This was meant as a
  sanity check, but it is too easy to run into, eg: making an ACL syscall
  when no filesystems have the ACL implementation enabled.
  
  The original reason for the panic was that the VOP_ vector had not been
  assigned and therefor could not be passed down the stack.. and there
  was no point passing it down since nothing implemented it anyway.
  vop_defaultop entries could not pass it on because it had a zero (unknown)
  vector that was indistinguishable from another unknown VOP vector.
  
  Anyway, we can do something reasonable in this case, we shouldn't need
  to panic here as there is a reasonable recovery option (return EOPNOTSUPP
  and dont pass it down the stack).
  
  Requested by: rwatson
  
  Revision  Changes    Path
  1.50      +3 -3      src/sys/kern/vfs_init.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009061751.KAA22994>