From: Ian Kent Date: Mon, 10 May 2010 08:46:08 +0000 (+0800) Subject: autofs4-2.6.34-rc1 - fix link_count usage X-Git-Tag: v2.6.34~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7422464b57088071201cd94027662d8469f153b;p=pandora-kernel.git autofs4-2.6.34-rc1 - fix link_count usage After commit 1f36f774b2 ("Switch !O_CREAT case to use of do_last()") in 2.6.34-rc1 autofs direct mounts stopped working. This is caused by current->link_count being 0 when ->follow_link() is called from do_filp_open(). I can't work out why this hasn't been seen before Als patch series. This patch removes the autofs dependence on current->link_count. Signed-off-by: Ian Kent Cc: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed