]> 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)
commit6bfd8f11b5cfabb3e49146c8e6afd2ba7c115fc5
tree42e01d147784f8e8ae327c1dd4fb405d587cc4aa
parent805c585da8318a0d8c810613d1a7afeed434b7b8
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