projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hpfs: Convert sbi->hpfs_creation_de to mutex
[deliverable/linux.git]
/
fs
/
hpfs
/
buffer.c
diff --git
a/fs/hpfs/buffer.c
b/fs/hpfs/buffer.c
index eac5f96323e3d9640a197ee5eb10acdbf6046591..793cb9d943d21a70584958c27fba6b2f97b37f93 100644
(file)
--- a/
fs/hpfs/buffer.c
+++ b/
fs/hpfs/buffer.c
@@
-14,7
+14,7
@@
void hpfs_lock_creation(struct super_block *s)
#ifdef DEBUG_LOCKS
printk("lock creation\n");
#endif
#ifdef DEBUG_LOCKS
printk("lock creation\n");
#endif
-
down
(&hpfs_sb(s)->hpfs_creation_de);
+
mutex_lock
(&hpfs_sb(s)->hpfs_creation_de);
}
void hpfs_unlock_creation(struct super_block *s)
}
void hpfs_unlock_creation(struct super_block *s)
@@
-22,7
+22,7
@@
void hpfs_unlock_creation(struct super_block *s)
#ifdef DEBUG_LOCKS
printk("unlock creation\n");
#endif
#ifdef DEBUG_LOCKS
printk("unlock creation\n");
#endif
-
up
(&hpfs_sb(s)->hpfs_creation_de);
+
mutex_unlock
(&hpfs_sb(s)->hpfs_creation_de);
}
/* Map a sector into a buffer and return pointers to it and to the buffer. */
}
/* Map a sector into a buffer and return pointers to it and to the buffer. */
This page took
0.043168 seconds
and
5
git commands to generate.