summaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorAl Viro2018-06-08 19:32:02 +0200
committerAl Viro2018-07-12 16:04:20 +0200
commit44907d79002466049fdbb8ef15730d185e0808b4 (patch)
tree3eedf1bdbd36f1d99da4710d7f934c286474f230 /fs/ceph/file.c
parentgetting rid of 'opened' argument of ->atomic_open() - part 2 (diff)
downloadkernel-qcow2-linux-44907d79002466049fdbb8ef15730d185e0808b4.tar.gz
kernel-qcow2-linux-44907d79002466049fdbb8ef15730d185e0808b4.tar.xz
kernel-qcow2-linux-44907d79002466049fdbb8ef15730d185e0808b4.zip
get rid of 'opened' argument of ->atomic_open() - part 3
now it can be done... Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r--fs/ceph/file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c
index 38b28cb2fac1..e2679e8a2535 100644
--- a/fs/ceph/file.c
+++ b/fs/ceph/file.c
@@ -429,8 +429,7 @@ out:
* file or symlink, return 1 so the VFS can retry.
*/
int ceph_atomic_open(struct inode *dir, struct dentry *dentry,
- struct file *file, unsigned flags, umode_t mode,
- int *opened)
+ struct file *file, unsigned flags, umode_t mode)
{
struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb);
struct ceph_mds_client *mdsc = fsc->mdsc;