Date: Tue, 17 Aug 2021 17:15:46 GMT From: Piotr Pawel Stefaniak <pstef@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c66e9307ea95 - main - mount.h: improve a comment about flags Message-ID: <202108171715.17HHFkBe053415@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=c66e9307ea9520f3d6e4d38dc842a99a31ae80bf commit c66e9307ea9520f3d6e4d38dc842a99a31ae80bf Author: Piotr Pawel Stefaniak <pstef@FreeBSD.org> AuthorDate: 2021-08-14 20:07:09 +0000 Commit: Piotr Pawel Stefaniak <pstef@FreeBSD.org> CommitDate: 2021-08-17 17:08:33 +0000 mount.h: improve a comment about flags The comment only specifies MNT_ROOTFS - which is set by the kernel when mounting its root file system. So it's not clear if any other flags are not quite right and for what reason. --- sys/sys/mount.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 016c7e9c188d..f4b5945d3ad0 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -398,9 +398,7 @@ struct mntoptnames { #define MNT_EXTLSCERTUSER 0x0000010000000000ULL /* require TLS with user cert */ /* - * Flags set by internal operations, - * but visible to the user. - * XXX some of these are not quite right.. (I've never seen the root flag set) + * Flags set by internal operations, but visible to the user. */ #define MNT_LOCAL 0x0000000000001000ULL /* filesystem is stored locally */ #define MNT_QUOTA 0x0000000000002000ULL /* quotas are enabled on fs */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108171715.17HHFkBe053415>