summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-09 19:37:49 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 05:19:34 +0200
commitfcacafd269adc88f41b68cb77a3f957a66563428 (patch)
tree5c2796dae6d890aad1ab1b4dc90f46ef53954a3a /fs/ceph
parentkill the 4th argument of __generic_file_aio_write() (diff)
downloadlinux-fcacafd269adc88f41b68cb77a3f957a66563428.tar.xz
linux-fcacafd269adc88f41b68cb77a3f957a66563428.zip
kill the 5th argument of generic_file_buffered_write()
same story - it's &iocb->ki_pos in all cases Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ceph')
-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 09c7afe32e49..a798db5e5e39 100644
--- a/fs/ceph/file.c
+++ b/fs/ceph/file.c
@@ -978,8 +978,7 @@ retry_snap:
* can not run at the same time
*/
written = generic_file_buffered_write(iocb, iov, nr_segs,
- pos, &iocb->ki_pos,
- count, 0);
+ pos, count, 0);
mutex_unlock(&inode->i_mutex);
}