mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] sem2mutex: quota
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c039e3134a
commit
d3be915fc5
6 changed files with 71 additions and 69 deletions
|
|
@ -77,8 +77,8 @@ static struct super_block *alloc_super(void)
|
|||
s->s_count = S_BIAS;
|
||||
atomic_set(&s->s_active, 1);
|
||||
sema_init(&s->s_vfs_rename_sem,1);
|
||||
sema_init(&s->s_dquot.dqio_sem, 1);
|
||||
sema_init(&s->s_dquot.dqonoff_sem, 1);
|
||||
mutex_init(&s->s_dquot.dqio_mutex);
|
||||
mutex_init(&s->s_dquot.dqonoff_mutex);
|
||||
init_rwsem(&s->s_dquot.dqptr_sem);
|
||||
init_waitqueue_head(&s->s_wait_unfrozen);
|
||||
s->s_maxbytes = MAX_NON_LFS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue