diff options
author | Ian Kent <raven@themaw.net> | 2010-05-10 16:46:08 +0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-10 09:48:10 -0700 |
commit | f7422464b57088071201cd94027662d8469f153b (patch) | |
tree | d6eea687462815fbcbe43aa6b273f672babd5f2e /drivers | |
parent | b77b907fae863f3bc546a336a8bc5e660d371788 (diff) |
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 <raven@themaw.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions