aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bfs/file.c')
-rw-r--r--fs/bfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index ad3ea1497cc3..ae2892218335 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -166,7 +166,7 @@ static void bfs_write_failed(struct address_space *mapping, loff_t to)
166 struct inode *inode = mapping->host; 166 struct inode *inode = mapping->host;
167 167
168 if (to > inode->i_size) 168 if (to > inode->i_size)
169 truncate_pagecache(inode, to, inode->i_size); 169 truncate_pagecache(inode, inode->i_size);
170} 170}
171 171
172static int bfs_write_begin(struct file *file, struct address_space *mapping, 172static int bfs_write_begin(struct file *file, struct address_space *mapping,