Re: [RFC PATCH] vfs: add MNT_NOFOLLOW flag to umount(2)

From: Bodo Eggert
Date: Thu Feb 04 2010 - 13:48:37 EST


Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> Additionally, return -EINVAL if an unknown flag is encountered. This
> makes it possible for the caller to determine if a flag is supported
> or not (at least on kernels with this patch).

There should be a guaranteed-to-be-invalid flag or flag-combination in
order to safely detect this feature.

--
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/