Thread (1 message) 1 message, 1 author, 2002-07-03

Re: [PATCH] Shift BKL into ->statfs()

From: Matthew Wilcox <hidden>
Date: 2002-07-03 12:28:48

On Wed, Jul 03, 2002 at 12:57:56AM -0700, Paul Menage wrote:
All ->statfs() implementations have been modified to take the BKL,
except for the following:

- those that don't reference any external mutable data:
... also adfs_statfs, 
- those that already have their own locking:
... also affs_statfs, bfs_statfs, ext3_statfs, hfs_statfs, jffs2_statfs,
jfs_statfs

I think ufs_statfs needs lock_super() due to its handling of fragments.

qnx4 looks terribly broken for read-write anyway... probably just keep the
lock_kernel / unlock_kernel around the call to qnx4_count_free_blocks().

I haven't audited coda, hpfs, jffs, nfs, smbfs & udf.

-- 
Revolutions do not require corporate support.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help