Commit cdadb11cef1802c1b0228976f08647d276711086
1 parent
807185eb3e
fuse: make fuse_file_fallocate() static
Fix the following sparse warning: fs/fuse/file.c:2249:6: warning: symbol 'fuse_file_fallocate' was not declared. Should it be static? Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff
fs/fuse/file.c
... | ... | @@ -2177,8 +2177,8 @@ |
2177 | 2177 | return ret; |
2178 | 2178 | } |
2179 | 2179 | |
2180 | -long fuse_file_fallocate(struct file *file, int mode, loff_t offset, | |
2181 | - loff_t length) | |
2180 | +static long fuse_file_fallocate(struct file *file, int mode, loff_t offset, | |
2181 | + loff_t length) | |
2182 | 2182 | { |
2183 | 2183 | struct fuse_file *ff = file->private_data; |
2184 | 2184 | struct fuse_conn *fc = ff->fc; |
... | ... | @@ -2213,7 +2213,6 @@ |
2213 | 2213 | |
2214 | 2214 | return err; |
2215 | 2215 | } |
2216 | -EXPORT_SYMBOL_GPL(fuse_file_fallocate); | |
2217 | 2216 | |
2218 | 2217 | static const struct file_operations fuse_file_operations = { |
2219 | 2218 | .llseek = fuse_file_llseek, |