libceph: grab snapc in ceph_osdc_alloc_request()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 26 Apr 2016 13:39:47 +0000 (15:39 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:21 +0000 (00:36 +0200)
commit841272825b2263174120ab02b4abac9005ee1420
treedc5507f72a08871a090cb8af312b6226480f9c02
parent3ed97d6345a36a0a61e6af62ad8a66ca40f1aa2e
libceph: grab snapc in ceph_osdc_alloc_request()

ceph_osdc_build_request() is going away.  Grab snapc and initialize
->r_snapid in ceph_osdc_alloc_request().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c