ceph: fix append mode write
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 28 Jul 2014 06:33:46 +0000 (14:33 +0800)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 28 Jul 2014 09:29:33 +0000 (13:29 +0400)
generic_write_checks() may update 'pos', so we need to pass 'pos'
to ceph_sync_write() and ceph_sync_direct_write();

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/file.c

diff --cc fs/ceph/file.c
Simple merge