Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!rutgers!apple!vsi1!wyse!mips!prls!philabs!ttidca!mb From: mb@ttidca.TTI.COM (Michael Bloom) Newsgroups: comp.unix.wizards Subject: Why is there an exclusive lock *count* ??? Message-ID: <3775@ttidca.TTI.COM> Date: 30 Jan 89 14:24:38 GMT Reply-To: mb@ttidca.tti.com (Michael Bloom) Organization: Citicorp/TTI, Santa Monica Lines: 6 When adding the BSD flock call to my System V kernel, I was surprised to see that a count of exclusive locks is kept in the inode's i_exlockc field. Why bother to do this? Isn't the IEXLOCK flag bit sufficient since there can only be one exclusive lock at any one time? Am I missing something?