summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 13:24:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 13:24:55 -0700
commit68f0d9d92e5430e250f2bd2a1e7a350e880d776a (patch)
tree2e416905bafd3e87a6b6eda8837d5fefe143b19b /net/sunrpc
parent3272c544da48f8915a0e34189182aed029bd0f2b (diff)
downloadlinux-68f0d9d92e5430e250f2bd2a1e7a350e880d776a.tar.gz
linux-68f0d9d92e5430e250f2bd2a1e7a350e880d776a.tar.bz2
linux-68f0d9d92e5430e250f2bd2a1e7a350e880d776a.zip
vfs: make d_path() get the root path under RCU
This avoids the spinlocks and refcounts in the d_path() sequence too (used by /proc and various other entities). See commit 8b19e34188a3 for the equivalent getcwd() system call path. And unlike getcwd(), d_path() doesn't copy the result to user space, so I don't need to fear _that_ particular bug happening again. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions