summaryrefslogtreecommitdiffstats
path: root/fs/minix/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/minix/file.c')
-rw-r--r--fs/minix/file.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/minix/file.c b/fs/minix/file.c
index 61d0e3f02..c0b5ad89f 100644
--- a/fs/minix/file.c
+++ b/fs/minix/file.c
@@ -6,18 +6,6 @@
* minix regular file handling primitives
*/
-#include <linux/sched.h>
-#include <linux/kernel.h>
-#include <linux/errno.h>
-#include <linux/fcntl.h>
-#include <linux/stat.h>
-#include <linux/locks.h>
-#include <linux/mm.h>
-#include <linux/pagemap.h>
-
-#include <asm/uaccess.h>
-#include <asm/system.h>
-
#include <linux/fs.h>
#include <linux/minix_fs.h>
@@ -25,7 +13,7 @@
* We have mostly NULLs here: the current defaults are OK for
* the minix filesystem.
*/
-static struct file_operations minix_file_operations = {
+struct file_operations minix_file_operations = {
read: generic_file_read,
write: generic_file_write,
mmap: generic_file_mmap,
@@ -33,6 +21,5 @@ static struct file_operations minix_file_operations = {
};
struct inode_operations minix_file_inode_operations = {
- &minix_file_operations,
truncate: minix_truncate,
};