]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 22 Aug 2012 21:30:17 +0000 (17:30 -0400)
commit0854481c7f9f6a5493442c48d71c0c754a08a9a6
tree1273d0caa16e15c3d8aa8f33d5c51e5fb974e526
parent9fb13a045cb89d7af59148fd0ebd385077dcbfa1
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