projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/fs_struct.c
b/fs/fs_struct.c
index 78b519c135365fb02d533441377ac4785abcb3ed..27114b413622234602a26e16cf637a6f073cbda5 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)