OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ac123
)
no need to play with fs->seq in exit_fs()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 15 Mar 2012 18:48:29 +0000
(14:48 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:41 +0000
(21:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs_struct.c
patch
|
blob
|
history
diff --git
a/fs/fs_struct.c
b/fs/fs_struct.c
index
78b519c
..
27114b4
100644
(file)
--- a/
fs/fs_struct.c
+++ b/
fs/fs_struct.c
@@
-107,10
+107,8
@@
void exit_fs(struct task_struct *tsk)
int kill;
task_lock(tsk);
spin_lock(&fs->lock);
- write_seqcount_begin(&fs->seq);
tsk->fs = NULL;
kill = !--fs->users;
- write_seqcount_end(&fs->seq);
spin_unlock(&fs->lock);
task_unlock(tsk);
if (kill)