Skip to contentSkip to conversation

remove NR_SUPER define

PATCH New [email protected] 1 participant 1 message Jan 7, 2005 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove NR_SUPER define

Last month I removed the "or too many mounted filesystems" part from an error message in mount(8) - NR_SUPER has not been used in a very long time.
Also NR_RESERVED_FILES is unused today.

Andries

include/linux/fs.h +0 -2
diff -uprN -X /linux/dontdiff a/include/linux/fs.h b/include/linux/fs.h
@@ -68,8 +68,6 @@ extern int dir_notify_enable;
 #endif
 
 #define NR_FILE  8192	/* this can well be larger on a larger system */
-#define NR_RESERVED_FILES 10 /* reserved for root */
-#define NR_SUPER 256
 
 #define MAY_EXEC 1
 #define MAY_WRITE 2