ソースを参照

no need to play with fs->seq in exit_fs()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 年 前
コミット
3ee05ed067
1 ファイル変更0 行追加2 行削除
  1. 0 2
      fs/fs_struct.c

+ 0 - 2
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)