diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-15 18:48:29 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 01:29:41 (GMT) |
commit | 3ee05ed0679f29ab19727067ff7c14f0c257fa9a (patch) | |
tree | 98e52a1f9e94a039d1b77278bce1957e9313c328 /fs | |
parent | 68ac1234fb949b66941d94dce4157742799fc581 (diff) | |
download | linux-fsl-qoriq-3ee05ed0679f29ab19727067ff7c14f0c257fa9a.tar.xz |
no need to play with fs->seq in exit_fs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fs_struct.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fs_struct.c b/fs/fs_struct.c index 78b519c..27114b4 100644 --- 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) |