commit | ff812d724254b95df76b7775d1359d856927a840 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 12 11:57:01 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 12 11:57:01 2013 -0700 |
tree | fa9dcbb1cc43aa0171a9cbaf4e668d6866d3cd20 | |
parent | 5223161dc0f5e44fbf3d5e42d23697b6796cdf4e [diff] |
vfs: don't copy things to user space holding the rcu readlock Oops. That wasn't very smart. We don't actually need the RCU lock any more by the time we copy the cwd string to user space, but I had stupidly surrounded the whole thing with it. Introduced by commit 8b19e34188a3 ("vfs: make getcwd() get the root and pwd path under rcu") Is-a-big-hairy-idiot: Linus Torvalds <torvalds@linux-foundation.org>