summaryrefslogtreecommitdiff
path: root/include/linux/devfs_fs_kernel.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-03-21 03:02:28 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-03-21 03:02:28 -0800
commit48bcb216c4cc315a328b9f7f1e94946df4fbf9bc (patch)
treeadeb70d81bb6cc073750aa60cbc355c0d877175f /include/linux/devfs_fs_kernel.h
parent68b37641b06998445593505d4a168455bd43eb58 (diff)
[PATCH] remove DEVFS_FL_REMOVABLE
Devfs tries to be super smart and rereads partition tables at all kinds of wierd points. This breaks a bunch of stuff were you can't get the right disk changed information (i.e. CompactFlash). If people actually need this kind of stuff they should just call partx from devfsd instead of relying on the kernel doing something like this. Cleans up the devfs code significatnly (aka removes tons of junk)
Diffstat (limited to 'include/linux/devfs_fs_kernel.h')
-rw-r--r--include/linux/devfs_fs_kernel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/devfs_fs_kernel.h b/include/linux/devfs_fs_kernel.h
index 52baa8cedc8b..f076601aaa6c 100644
--- a/include/linux/devfs_fs_kernel.h
+++ b/include/linux/devfs_fs_kernel.h
@@ -13,7 +13,6 @@
#define DEVFS_FL_NONE 0x000 /* This helps to make code more readable
*/
-#define DEVFS_FL_REMOVABLE 0x008 /* This is a removable media device */
#define DEVFS_FL_WAIT 0x010 /* Wait for devfsd to finish */
#define DEVFS_FL_CURRENT_OWNER 0x020 /* Set initial ownership to current */
#define DEVFS_FL_DEFAULT DEVFS_FL_NONE