projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use f_lock to protect f_flags
[linux-2.6-block.git]
/
include
/
linux
/
fs.h
diff --git
a/include/linux/fs.h
b/include/linux/fs.h
index 2011600d12c70b28f80f2909bcc00b28dbc38a3c..7428c6d35e6504312fcb7fec85e0db6552917708 100644
(file)
--- a/
include/linux/fs.h
+++ b/
include/linux/fs.h
@@
-848,7
+848,7
@@
struct file {
#define f_dentry f_path.dentry
#define f_vfsmnt f_path.mnt
const struct file_operations *f_op;
- spinlock_t f_lock; /* f_ep_links */
+ spinlock_t f_lock; /* f_ep_links
, f_flags
*/
atomic_long_t f_count;
unsigned int f_flags;
fmode_t f_mode;