ceph: initialize pathbase in the !dentry case in encode_caps_cb()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 9 Aug 2016 14:12:09 +0000 (16:12 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 9 Aug 2016 15:26:56 +0000 (17:26 +0200)
commit4eacd4cb3a7c4794688ef4fad5d01f3a532a58e9
treee4d98130d5ca2971b6c9da89c0214a59357330f1
parentd8734849d8007dacaa40b31ba7319ed28077141d
ceph: initialize pathbase in the !dentry case in encode_caps_cb()

pathbase is the base inode; set it to 0 if we've got no path.

Coverity-id: 146348
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
fs/ceph/mds_client.c