diff options
Diffstat (limited to 'fs/ufs/file.c')
-rw-r--r-- | fs/ufs/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ufs/file.c b/fs/ufs/file.c index 384774cc5..2a27f6f23 100644 --- a/fs/ufs/file.c +++ b/fs/ufs/file.c @@ -71,7 +71,7 @@ static long long ufs_file_lseek( * We have mostly NULL's here: the current defaults are ok for * the ufs filesystem. */ -static struct file_operations ufs_file_operations = { +struct file_operations ufs_file_operations = { llseek: ufs_file_lseek, read: generic_file_read, write: generic_file_write, @@ -79,6 +79,5 @@ static struct file_operations ufs_file_operations = { }; struct inode_operations ufs_file_inode_operations = { - &ufs_file_operations, truncate: ufs_truncate, }; |