drivers/base/fs/fs.h - needed?
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"
Quoted 9 lines · Sam Ravnborg
In
fs/partitions/check.cthe 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, thefs.hfile, or at least the content, shall be placed ininclude/linuxfor general access.
It can safely be removed.
Thanks
-pat