diff options
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r-- | fs/ceph/file.c | 3 |
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: | |||
978 | * can not run at the same time | 978 | * can not run at the same time |
979 | */ | 979 | */ |
980 | written = generic_file_buffered_write(iocb, iov, nr_segs, | 980 | written = generic_file_buffered_write(iocb, iov, nr_segs, |
981 | pos, &iocb->ki_pos, | 981 | pos, count, 0); |
982 | count, 0); | ||
983 | mutex_unlock(&inode->i_mutex); | 982 | mutex_unlock(&inode->i_mutex); |
984 | } | 983 | } |
985 | 984 | ||