diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
| commit | 8d7ccaa545490cdffdfaff0842436a8dd85cf47b (patch) | |
| tree | 8129b5907161bc6ae26deb3645ce1e280c5e1f51 /fs/bfs/file.c | |
| parent | b2139aa0eec330c711c5a279db361e5ef1178e78 (diff) | |
| parent | 30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff) | |
Merge commit 'v2.6.27-rc3' into x86/prototypes
Conflicts:
include/asm-x86/dma-mapping.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/bfs/file.c')
| -rw-r--r-- | fs/bfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bfs/file.c b/fs/bfs/file.c index b11e63e8fbcd..6a021265f018 100644 --- a/fs/bfs/file.c +++ b/fs/bfs/file.c | |||
| @@ -99,7 +99,7 @@ static int bfs_get_block(struct inode *inode, sector_t block, | |||
| 99 | return -ENOSPC; | 99 | return -ENOSPC; |
| 100 | 100 | ||
| 101 | /* The rest has to be protected against itself. */ | 101 | /* The rest has to be protected against itself. */ |
| 102 | lock_kernel(); | 102 | mutex_lock(&info->bfs_lock); |
| 103 | 103 | ||
| 104 | /* | 104 | /* |
| 105 | * If the last data block for this file is the last allocated | 105 | * If the last data block for this file is the last allocated |
| @@ -151,7 +151,7 @@ static int bfs_get_block(struct inode *inode, sector_t block, | |||
| 151 | mark_buffer_dirty(sbh); | 151 | mark_buffer_dirty(sbh); |
| 152 | map_bh(bh_result, sb, phys); | 152 | map_bh(bh_result, sb, phys); |
| 153 | out: | 153 | out: |
| 154 | unlock_kernel(); | 154 | mutex_unlock(&info->bfs_lock); |
| 155 | return err; | 155 | return err; |
| 156 | } | 156 | } |
| 157 | 157 | ||
