Re: [PATCH 6/28] VFS: Make expiry recursive

From: Christoph Hellwig
Date: Mon Oct 25 2004 - 19:27:18 EST


On Mon, Oct 25, 2004 at 10:41:31AM -0400, Mike Waychison wrote:
> This patch allows for tagging of vfsmounts as being part of a sub-tree
> expiry. It introduces a new vfsmount flag, MNT_CHILDEXPIRE which is used to
> let the system know that the given mountpoint expires with its parent. This
> is a recursive definition.
>
> mnt_expiry, the call used to specify that a mount should expire, now takes an
> int described as follows:
> - 0 - The mountpoint should not expire (default)
> - >0 - The value is used to specify the amount of idle time before the
> given mountpoint expires.
> - <0 - The mountpoint must expire with it's immediate parent. (parent
> must be set to expire, or must be itself be marked to expire
> along with _its_ parent.

so add some constant for this, ala

#define MNT_EXPIRE_RECURSIVE (-1)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/