From: Al Viro Date: Sun, 14 Sep 2014 01:59:43 +0000 (-0400) Subject: be careful with nd->inode in path_init() and follow_dotdot_rcu() X-Git-Tag: v3.2.64~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4ba51a1d7def5f36b7dec2defd3c4ab27e9fb0;p=pandora-kernel.git be careful with nd->inode in path_init() and follow_dotdot_rcu() commit 4023bfc9f351a7994fb6a7d515476c320f94a574 upstream. in the former we simply check if dentry is still valid after picking its ->d_inode; in the latter we fetch ->d_inode in the same places where we fetch dentry and its ->d_seq, under the same checks. Signed-off-by: Al Viro [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed