[PATCH] sem2mutex: fs/seq_file.c

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 <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Ingo Molnar 2006-03-23 03:00:37 -08:00 committed by Linus Torvalds
parent 7cf34c761d
commit 0ac1759abc
2 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <asm/semaphore.h>
#include <linux/mutex.h>
struct seq_operations;
struct file;
@ -19,7 +19,7 @@ struct seq_file {
size_t count;
loff_t index;
loff_t version;
struct semaphore sem;
struct mutex lock;
struct seq_operations *op;
void *private;
};