Revision f7422464b57088071201cd94027662d8469f153b authored by Ian Kent on 10 May 2010, 08:46:08 UTC, committed by Linus Torvalds on 10 May 2010, 16:48:10 UTC
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 <raven@themaw.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b77b907
History
File Mode Size
3C359.bin.ihex -rw-r--r-- 67.4 KB
typhoon.bin.ihex -rw-r--r-- 121.5 KB

back to top