diff options
Diffstat (limited to 'fs/hpfs/buffer.c')
-rw-r--r-- | fs/hpfs/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/buffer.c b/fs/hpfs/buffer.c index b6fca543544c..8f4141cb2b21 100644 --- a/fs/hpfs/buffer.c +++ b/fs/hpfs/buffer.c | |||
@@ -13,7 +13,7 @@ void hpfs_lock_creation(struct super_block *s) | |||
13 | #ifdef DEBUG_LOCKS | 13 | #ifdef DEBUG_LOCKS |
14 | printk("lock creation\n"); | 14 | printk("lock creation\n"); |
15 | #endif | 15 | #endif |
16 | down(&hpfs_sb(s)->hpfs_creation_de); | 16 | mutex_lock(&hpfs_sb(s)->hpfs_creation_de); |
17 | } | 17 | } |
18 | 18 | ||
19 | void hpfs_unlock_creation(struct super_block *s) | 19 | void hpfs_unlock_creation(struct super_block *s) |
@@ -21,7 +21,7 @@ void hpfs_unlock_creation(struct super_block *s) | |||
21 | #ifdef DEBUG_LOCKS | 21 | #ifdef DEBUG_LOCKS |
22 | printk("unlock creation\n"); | 22 | printk("unlock creation\n"); |
23 | #endif | 23 | #endif |
24 | up(&hpfs_sb(s)->hpfs_creation_de); | 24 | mutex_unlock(&hpfs_sb(s)->hpfs_creation_de); |
25 | } | 25 | } |
26 | 26 | ||
27 | /* Map a sector into a buffer and return pointers to it and to the buffer. */ | 27 | /* Map a sector into a buffer and return pointers to it and to the buffer. */ |