Re: [PATCH 2/3] autofs4 - expiring filesystem from under process

2005-04-11 Thread Andrew Morton
[EMAIL PROTECTED] wrote: static inline int autofs4_ispending(struct dentry *dentry) { struct autofs_info *inf = autofs4_dentry_ino(dentry); +int pending; -return (dentry-d_flags DCACHE_AUTOFS_PENDING) || -(inf != NULL inf-flags AUTOFS_INF_EXPIRING);

Re: [PATCH 2/3] autofs4 - expiring filesystem from under process

2005-04-11 Thread Ian Kent
On Mon, 11 Apr 2005, Andrew Morton wrote: [EMAIL PROTECTED] wrote: static inline int autofs4_ispending(struct dentry *dentry) { struct autofs_info *inf = autofs4_dentry_ino(dentry); + int pending; - return (dentry-d_flags DCACHE_AUTOFS_PENDING) || - (inf

[PATCH 2/3] autofs4 - expiring filesystem from under process

2005-04-10 Thread raven
autofs4-2.6.12-rc1-mm4-tree-race.patch For tree mount maps, a call to chdir or chroot, to a directory above the moint point directories at a certain time during the expire results in the expire incorrectly thinking the tree is not busy. This patch adds a check to see if the filesystem above the

Re: [PATCH 2/3] autofs4 - expiring filesystem from under process

2005-04-10 Thread Andrew Morton
[EMAIL PROTECTED] wrote: + /* Is someone visiting anywhere in the tree ? */ +if (autofs4_may_umount(mnt)) There's no such function in my tree... - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo info