rbd: don't (ab)use obj_req->pages for stat requests
authorIlya Dryomov <idryomov@gmail.com>
Sat, 20 Jan 2018 09:30:10 +0000 (10:30 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 08:12:39 +0000 (10:12 +0200)
commit06fbb6993504974db6334a80b6796d6522ad45eb
treebfabad5eea35dbf7056a92f506b0a63084e5e728
parentdf6ba7015dd3a64a2e74353d1e7d19871af86f38
rbd: don't (ab)use obj_req->pages for stat requests

obj_req->pages is for provided data buffers.  stat requests are
internal and should be NODATA.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c