aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-11-10 10:55:56 -0500
committerMiklos Szeredi <mszeredi@suse.cz>2013-01-24 10:21:28 -0500
commitfb05f41f5f96f7423c53da4d87913fb44fd0565d (patch)
treed3cad72fea5e2b58b8bfa65aa3568e3617507234 /fs/fuse/fuse_i.h
parent5565a9d884327ac45d49041f1b846dac273e110c (diff)
fuse: cleanup fuse_direct_io()
Fix the following sparse warnings: fs/fuse/file.c:1216:43: warning: cast removes address space of expression fs/fuse/file.c:1216:43: warning: incorrect type in initializer (different address spaces) fs/fuse/file.c:1216:43: expected void [noderef] <asn:1>*iov_base fs/fuse/file.c:1216:43: got void *<noident> fs/fuse/file.c:1241:43: warning: cast removes address space of expression fs/fuse/file.c:1241:43: warning: incorrect type in initializer (different address spaces) fs/fuse/file.c:1241:43: expected void [noderef] <asn:1>*iov_base fs/fuse/file.c:1241:43: got void *<noident> fs/fuse/file.c:1267:43: warning: cast removes address space of expression fs/fuse/file.c:1267:43: warning: incorrect type in initializer (different address spaces) fs/fuse/file.c:1267:43: expected void [noderef] <asn:1>*iov_base fs/fuse/file.c:1267:43: got void *<noident> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 70cef60afe0e..13befcd29c5b 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -811,8 +811,9 @@ int fuse_reverse_inval_entry(struct super_block *sb, u64 parent_nodeid,
811 811
812int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file, 812int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
813 bool isdir); 813 bool isdir);
814ssize_t fuse_direct_io(struct file *file, const char __user *buf, 814ssize_t fuse_direct_io(struct file *file, const struct iovec *iov,
815 size_t count, loff_t *ppos, int write); 815 unsigned long nr_segs, size_t count, loff_t *ppos,
816 int write);
816long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg, 817long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
817 unsigned int flags); 818 unsigned int flags);
818long fuse_ioctl_common(struct file *file, unsigned int cmd, 819long fuse_ioctl_common(struct file *file, unsigned int cmd,