From: Mike Frysinger Date: Mon, 21 Sep 2009 16:12:05 +0000 (+0000) Subject: Blackfin: cplbinfo: drop d_path() hacks X-Git-Tag: v2.6.32-rc4~13^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48dee09325fbc5ffb9d4a780e765538c0e9cc794;p=pandora-kernel.git Blackfin: cplbinfo: drop d_path() hacks The cplbinfo was using d_path() to figure out which cpu/cplb was being parsed. As Al pointed out, this isn't exactly reliable as it assumes the static VFS path to be unchanged, and it's just poor form. So use the proc_create_data() to properly (and internally) pass the exact cpu/cplb requested to the parser function. Reported-by: Al Viro Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed