ceph_sync_{,direct_}write: fix an oops on ceph_osdc_new_request() failure
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Apr 2014 02:44:19 +0000 (22:44 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 12 Apr 2014 10:51:51 +0000 (06:51 -0400)
commiteab87235c0f5979503a547f836a93a3d327c4201
tree5cb00bebe96adfe0b25694cca7b93a77473fc3a7
parentccad2365668f12336dd497d9039e8584af836070
ceph_sync_{,direct_}write: fix an oops on ceph_osdc_new_request() failure

ceph_osdc_put_request(ERR_PTR(-error)) oopses.  What we want there
is break, not goto out.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/file.c