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>
This commit is contained in:

committed by
Linus Torvalds

parent
75b25b4cab
commit
3f165e4cf2
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user