Skip to content
  • Linus Torvalds's avatar
    vfs: don't copy things to user space holding the rcu readlock · ff812d72
    Linus Torvalds authored
    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 8b19e341 ("vfs: make getcwd() get the root and
    pwd path under rcu")
    
    Is-a-big-hairy-idiot: Linus Torvalds <torvalds@linux-foundation.org>
    ff812d72