[OpenAFS-devel] afs_xflock not used anywhere? (afs_vnop_flock.c)

Nathan Neulinger nneul@umr.edu
01 Mar 2003 11:23:07 -0600


I'm in the middle of trying to make sure I understand everything about
the kernel locking code. Only place that has any goofiness I'm not sure
about is the afs_xflock() routine.

Here's the issue though - it's NEVER used... at least not anywhere I can
see. There are no references to it anywhere.

Only thing I can think of is that it might be some special case - i.e.
load a kernel module named 'afs', and it uses a bunch of extra calls
named 'afs_.*'. That or it was a work in progress that was never
actually enabled anywhere.

Does anyone with a bit wider knowledge have any idea if this routine is
actually needed? Pretty much everything else in the locking code I've
got figured out (and I've got a plan in place to clean it up quite a bit
- even before the byte-range extensions).

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216