From: Linus Torvalds Date: Thu, 12 Sep 2013 20:24:55 +0000 (-0700) Subject: vfs: make d_path() get the root path under RCU X-Git-Tag: v3.12-rc1~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68f0d9d92e5430e250f2bd2a1e7a350e880d776a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed