diff options
Diffstat (limited to 'fs/reiserfs/file.c')
-rw-r--r-- | fs/reiserfs/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/reiserfs/file.c b/fs/reiserfs/file.c index 8375c922c0d5..50302d6f8895 100644 --- a/fs/reiserfs/file.c +++ b/fs/reiserfs/file.c | |||
@@ -126,7 +126,7 @@ static int reiserfs_file_open(struct inode *inode, struct file *file) | |||
126 | return err; | 126 | return err; |
127 | } | 127 | } |
128 | 128 | ||
129 | static void reiserfs_vfs_truncate_file(struct inode *inode) | 129 | void reiserfs_vfs_truncate_file(struct inode *inode) |
130 | { | 130 | { |
131 | mutex_lock(&(REISERFS_I(inode)->tailpack)); | 131 | mutex_lock(&(REISERFS_I(inode)->tailpack)); |
132 | reiserfs_truncate_file(inode, 1); | 132 | reiserfs_truncate_file(inode, 1); |
@@ -312,7 +312,6 @@ const struct file_operations reiserfs_file_operations = { | |||
312 | }; | 312 | }; |
313 | 313 | ||
314 | const struct inode_operations reiserfs_file_inode_operations = { | 314 | const struct inode_operations reiserfs_file_inode_operations = { |
315 | .truncate = reiserfs_vfs_truncate_file, | ||
316 | .setattr = reiserfs_setattr, | 315 | .setattr = reiserfs_setattr, |
317 | .setxattr = reiserfs_setxattr, | 316 | .setxattr = reiserfs_setxattr, |
318 | .getxattr = reiserfs_getxattr, | 317 | .getxattr = reiserfs_getxattr, |