diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 18:06:08 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 18:06:08 +0100 |
commit | 92fe7b9ea8ef101bff3c75ade89b93b5f62a7955 (patch) | |
tree | 3dba4faa78f1bbe4be503275173e3a63b5d60f22 /fs/fat/fatent.c | |
parent | NTFS: 2.1.27 - Various bug fixes and cleanups. (diff) | |
parent | [PATCH] reduce size of bio mempools (diff) | |
download | linux-92fe7b9ea8ef101bff3c75ade89b93b5f62a7955.tar.xz linux-92fe7b9ea8ef101bff3c75ade89b93b5f62a7955.zip |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'fs/fat/fatent.c')
-rw-r--r-- | fs/fat/fatent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index a1a9e0451217..ab171ea8e869 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c @@ -267,19 +267,19 @@ static struct fatent_operations fat32_ops = { static inline void lock_fat(struct msdos_sb_info *sbi) { - down(&sbi->fat_lock); + mutex_lock(&sbi->fat_lock); } static inline void unlock_fat(struct msdos_sb_info *sbi) { - up(&sbi->fat_lock); + mutex_unlock(&sbi->fat_lock); } void fat_ent_access_init(struct super_block *sb) { struct msdos_sb_info *sbi = MSDOS_SB(sb); - init_MUTEX(&sbi->fat_lock); + mutex_init(&sbi->fat_lock); switch (sbi->fat_bits) { case 32: |