During commit e462ec50cb5 ("VFS: Differentiate mount flags (MS_*) from internal superblock flags") Christoph had suggested we should eventually remove these old flags which were exposed to userspace but could not be used as they were internal-only. Nuke them. Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> --- include/uapi/linux/mount.h | 8 -------- tools/include/uapi/linux/mount.h | 8 -------- 2 files changed, 16 deletions(-) diff --git a/include/uapi/linux/mount.h b/include/uapi/linux/mount.h index 4d93967f8aea..eb6617a5426b 100644 --- a/include/uapi/linux/mount.h +++ b/include/uapi/linux/mount.h @@ -38,14 +38,6 @@ #define MS_STRICTATIME (1<<24) /* Always perform atime updates */ #define MS_LAZYTIME (1<<25) /* Update the on-disk [acm]times lazily */ -/* These sb flags are internal to the kernel */ -#define MS_SUBMOUNT (1<<26) -#define MS_NOREMOTELOCK (1<<27) -#define MS_NOSEC (1<<28) -#define MS_BORN (1<<29) -#define MS_ACTIVE (1<<30) -#define MS_NOUSER (1<<31) - /* * Superblock flags that can be altered by MS_REMOUNT */ diff --git a/tools/include/uapi/linux/mount.h b/tools/include/uapi/linux/mount.h index 4d93967f8aea..eb6617a5426b 100644 --- a/tools/include/uapi/linux/mount.h +++ b/tools/include/uapi/linux/mount.h @@ -38,14 +38,6 @@ #define MS_STRICTATIME (1<<24) /* Always perform atime updates */ #define MS_LAZYTIME (1<<25) /* Update the on-disk [acm]times lazily */ -/* These sb flags are internal to the kernel */ -#define MS_SUBMOUNT (1<<26) -#define MS_NOREMOTELOCK (1<<27) -#define MS_NOSEC (1<<28) -#define MS_BORN (1<<29) -#define MS_ACTIVE (1<<30) -#define MS_NOUSER (1<<31) - /* * Superblock flags that can be altered by MS_REMOUNT */ -- 2.35.1