Messages in this thread | | | Date | Mon, 10 Nov 1997 16:38:30 +0100 (CET) | From | Regis Duchesne <> | Subject | Re: Super block locking |
| |
> lock_super() and unlock_super() are used very heteregeneously in the > different implementation of fs. > > Some fs (like isofs, minix) read/write super block fields (such as s_dev, > s_op) _without_ taking the lock, while other always take the lock when > accessing super block members. Strangely, fs/super.c doesn't use super block locking in read_super() to access s_dev, s_flags, s_rd_only, s_dirt, and s_type
So when should we use this lock?
Regis "HPReg" Duchesne - Engineering Student at ***** ******** ***** www http://www.via.ecp.fr/~regis/ (O o) I use Linux & 3Com (1135 KB/s over 10Mb/s ethernet) --.oOO--(_)--OOo.-----------------------------------------------------------
| |