mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
7cf34c761d
commit
0ac1759abc
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue