From: Miklos Szeredi Date: Sat, 10 Nov 2012 15:55:56 +0000 (+0100) Subject: fuse: make fuse_file_fallocate() static X-Git-Tag: next-20121112~99^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a4fc1dacf570c9648268e40b66e9804570049366;p=karo-tx-linux.git 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 --- diff --git a/fs/fuse/file.c b/fs/fuse/file.c index bf12ba4c7c7f..19b50e7b7cf1 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -2246,8 +2246,8 @@ fuse_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, return ret; } -long fuse_file_fallocate(struct file *file, int mode, loff_t offset, - loff_t length) +static long fuse_file_fallocate(struct file *file, int mode, loff_t offset, + loff_t length) { struct fuse_file *ff = file->private_data; struct fuse_conn *fc = ff->fc; @@ -2282,7 +2282,6 @@ long fuse_file_fallocate(struct file *file, int mode, loff_t offset, return err; } -EXPORT_SYMBOL_GPL(fuse_file_fallocate); static const struct file_operations fuse_file_operations = { .llseek = fuse_file_llseek,