aboutsummaryrefslogtreecommitdiff
path: root/fs/bfs/bfs.h
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-07-25 19:44:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 12:00:03 -0700
commit3f165e4cf2af042af7d2440d688299c0d2a48b1f (patch)
treefe49b0b9771fb20b2be844e43bc8360e7b831aba /fs/bfs/bfs.h
parent75b25b4cabb7ce956c36442bf8225659b1864866 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bfs/bfs.h b/fs/bfs/bfs.h
index d1a6cd10afc..7109e451abf 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;
};
/*