summaryrefslogtreecommitdiffstats
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs_struct.c')
-rw-r--r--fs/fs_struct.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fs_struct.c b/fs/fs_struct.c
index 78b519c1353..27114b41362 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)