diff options
author | Ian Kent <raven@themaw.net> | 2010-05-10 10:46:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-10 18:48:10 +0200 |
commit | f7422464b57088071201cd94027662d8469f153b (patch) | |
tree | d6eea687462815fbcbe43aa6b273f672babd5f2e /fs/read_write.h | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
download | linux-f7422464b57088071201cd94027662d8469f153b.tar.xz linux-f7422464b57088071201cd94027662d8469f153b.zip |
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 'fs/read_write.h')
0 files changed, 0 insertions, 0 deletions