]> git.baikalelectronics.ru Git - kernel.git/commit
don't bother with call_rcu() in put_files_struct()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 16 Aug 2012 00:00:58 +0000 (20:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:08:54 +0000 (21:08 -0400)
commit4dbf0dcf75a81bebd8fcba01f0ec58ff23ae9894
tree42e01d147784f8e8ae327c1dd4fb405d587cc4aa
parentb77a0fc5e3c1235f8411e1ab0d58059d7d535d21
don't bother with call_rcu() in put_files_struct()

At that point nobody can see us anyway; everything that
looks at files_fdtable(files) is separated from the
guts of put_files_struct(files) - either since files is
current->files or because we fetched it under task_lock()
and hadn't dropped that yet, or because we'd bumped
files->count while holding task_lock()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c