ceph: apply write checks in ceph_aio_write
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 12 Apr 2013 08:11:13 +0000 (16:11 +0800)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:54 +0000 (21:18 -0700)
commit03d254edebe51949a569c38df6b4b05b7f3c50f9
tree61ea077054bff82f2493ddfbf8d3751da1652f2d
parent37505d5768b9389a5ef7bc1efa465d4484a5462e
ceph: apply write checks in ceph_aio_write

copy write checks in __generic_file_aio_write to ceph_aio_write.
To make these checks cover sync write path.

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