summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-05-26 17:12:41 +0200
committerJan Kara <jack@suse.cz>2016-09-22 10:56:19 +0200
commit62490330769c1ce5dcba3f1f3e8f4005e9b797e6 (patch)
treedac897ee740ee9078e3ef8567504a86b4c33ae29 /fs/fuse/fuse_i.h
parentfd5472ed44683cf593322a2ef54b9a7675dc780a (diff)
downloadlinux-62490330769c1ce5dcba3f1f3e8f4005e9b797e6.tar.gz
linux-62490330769c1ce5dcba3f1f3e8f4005e9b797e6.tar.bz2
linux-62490330769c1ce5dcba3f1f3e8f4005e9b797e6.zip
fuse: Propagate dentry down to inode_change_ok()
To avoid clearing of capabilities or security related extended attributes too early, inode_change_ok() will need to take dentry instead of inode. Propagate it down to fuse_do_setattr(). Acked-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index d98d8cc84def..cace5526c6d6 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -958,7 +958,7 @@ bool fuse_write_update_size(struct inode *inode, loff_t pos);
int fuse_flush_times(struct inode *inode, struct fuse_file *ff);
int fuse_write_inode(struct inode *inode, struct writeback_control *wbc);
-int fuse_do_setattr(struct inode *inode, struct iattr *attr,
+int fuse_do_setattr(struct dentry *dentry, struct iattr *attr,
struct file *file);
void fuse_set_initialized(struct fuse_conn *fc);