Re: Why is lock_kernel() in jsf_release()?

From: David S. Miller (davem@redhat.com)
Date: Fri Jul 14 2000 - 02:07:39 EST


   From: Pete Zaitcev <zaitcev@metabyte.com>
   Date: Thu, 13 Jul 2000 09:04:09 -0700 (PDT)

   Why was the lock necessary? From what race scenario do we protect
   ourselves here?

lock_kernel was removed from the VFS sys_close(), and Alexander
Viro just put lock_kernel in any release() method which wasn't
%100 obvious to him, that's all.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST