summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2017-09-12 16:57:54 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2017-09-12 16:57:54 +0200
commit5b97eeacbd80a7bb60f2534eb43304f821e1ba06 (patch)
treeea23ede67dcf69958bc4f5a86974d5636bdecfce /fs/fuse/fuse_i.h
parente1c0eecba1a4154c35c400f1cc9a035e6246bbcd (diff)
downloadlinux-5b97eeacbd80a7bb60f2534eb43304f821e1ba06.tar.bz2
fuse: getattr cleanup
The refreshed argument isn't used by any caller, get rid of it. Use a helper for just updating the inode (no need to fill in a kstat). Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 610514f6aadf..d5773ca67ad2 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -904,8 +904,7 @@ u64 fuse_lock_owner_id(struct fuse_conn *fc, fl_owner_t id);
void fuse_update_ctime(struct inode *inode);
-int fuse_update_attributes(struct inode *inode, struct kstat *stat,
- struct file *file, bool *refreshed);
+int fuse_update_attributes(struct inode *inode, struct file *file);
void fuse_flush_writepages(struct inode *inode);