diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-07-25 19:44:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 12:00:03 -0700 |
commit | 3f165e4cf2af042af7d2440d688299c0d2a48b1f (patch) | |
tree | fe49b0b9771fb20b2be844e43bc8360e7b831aba /fs/bfs/bfs.h | |
parent | 75b25b4cabb7ce956c36442bf8225659b1864866 (diff) | |
download | linux-stable-3f165e4cf2af042af7d2440d688299c0d2a48b1f.tar.gz |
bfs: kill BKL
Replace the BKL-based locking scheme used in the bfs driver by a private
filesystem-wide mutex.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Cc: Tigran Aivazian <tigran_aivazian@symantec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/bfs/bfs.h')
-rw-r--r-- | fs/bfs/bfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bfs/bfs.h b/fs/bfs/bfs.h index d1a6cd10afce..7109e451abf7 100644 --- a/fs/bfs/bfs.h +++ b/fs/bfs/bfs.h @@ -18,6 +18,7 @@ struct bfs_sb_info { unsigned long si_lasti; unsigned long *si_imap; struct buffer_head *si_sbh; /* buffer header w/superblock */ + struct mutex bfs_lock; }; /* |