diff options
author | Krzysztof Helt <[email protected]> | 2008-10-18 20:27:51 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-20 08:52:36 -0700 |
commit | 3e680aae4e53ab54cdbb0c29257dae0cbb158e1c (patch) | |
tree | 389c2a60625b2f9dbd9555378a9d4917730f335e /fs/jbd/commit.c | |
parent | e53677113e32e6f118e31b8391a2eab7ee52c0a7 (diff) |
fb: convert lock/unlock_kernel() into local fb mutex
Change lock_kernel()/unlock_kernel() to local fb mutex. Each frame buffer
instance has its own mutex.
The one line try_to_load() function is unrolled to request_module() in two
places for readability.
[[email protected]: fb: fix NULL pointer BUG dereference in fb_open()]
Signed-off-by: Krzysztof Helt <[email protected]>
Signed-off-by: Andrea Righi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions