]> git.hungrycats.org Git - linux/commit
[PATCH] autofs4: readdir fixes
authorAndrew Morton <akpm@osdl.org>
Sat, 15 May 2004 03:14:32 +0000 (20:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 15 May 2004 03:14:32 +0000 (20:14 -0700)
commit7d1f193d26bfe1366380dac0bafa8f2682f58439
treebf7ea3248605cd1763994ac0ab0bd6e787653262
parent8b22c0c5387fcf1642c458482e8a278d7b49ac80
[PATCH] autofs4: readdir fixes

From: Ian Kent <raven@themaw.net>

a. Implement readdir and friends for directory lookup for late mounting.
   This is done largely by replacing a catch all condition in
   try_to_fill_dentry with appropriate cases.

b. Add path calc.  function in waitq.c to get extended path to return to
   daemon (for direct mounts).

c. Add revalidate calls to sys_chdir and sys_chroot so that pwd lookups
   work correctly.

d. Add ioctl to retrieve minor version for automount daemon (and me) to
   recognise module fix level.  Bumped minor version to 5.

From: Hugh Dickins <hugh@veritas.com>

  After chdir (or chroot) to non-existent directory on 2.6.5-mm5, you can no
  longer unmount filesystem holding working directory (or root).
fs/autofs4/autofs_i.h
fs/autofs4/expire.c
fs/autofs4/inode.c
fs/autofs4/root.c
fs/autofs4/waitq.c
fs/open.c
include/linux/auto_fs4.h