Skip to contentSkip to conversation

drivers/base/fs/fs.h - needed?

PATCH Sam Ravnborg 2 participants 2 messages Dec 17, 2002 – Dec 19, 2002

lore
Share & tools
lore
#0 lore raw

In fs/partitions/check.c the following ugly include exists:
#include <../drivers/base/fs/fs.h> /* Eeeeewwwww */

It can be killed with no problem, the prototypes contained therein are not used by check.c.

Is this preparations for furter device model changes?
If thats the case, the fs.h file, or at least the content, shall be placed in include/linux for general access.

Here is a patch to remove the said include statement.

Sam

===== fs/partitions/check.c 1.90 vs edited =====

fs/partitions/check.c +0 -1
@@ -19,7 +19,6 @@
 #include <linux/blk.h>
 #include <linux/kmod.h>
 #include <linux/ctype.h>
-#include <../drivers/base/fs/fs.h>	/* Eeeeewwwww */
 
 #include "check.h"
 
#1 lore raw
Quoted 9 lines · Sam Ravnborg

In fs/partitions/check.c the following ugly include exists:
#include <../drivers/base/fs/fs.h> /* Eeeeewwwww */

It can be killed with no problem, the prototypes contained therein are not used by check.c.

Is this preparations for furter device model changes?
If thats the case, the fs.h file, or at least the content, shall be placed in include/linux for general access.

It can safely be removed.

Thanks

-pat