summaryrefslogtreecommitdiffstats
path: root/fs/ext2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r--fs/ext2/file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index 5c4639175..d2c137e2c 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -95,7 +95,7 @@ static int ext2_open_file (struct inode * inode, struct file * filp)
* We have mostly NULL's here: the current defaults are ok for
* the ext2 filesystem.
*/
-static struct file_operations ext2_file_operations = {
+struct file_operations ext2_file_operations = {
llseek: ext2_file_lseek,
read: generic_file_read,
write: generic_file_write,
@@ -107,6 +107,5 @@ static struct file_operations ext2_file_operations = {
};
struct inode_operations ext2_file_inode_operations = {
- &ext2_file_operations,
truncate: ext2_truncate,
};