]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34320dc0823f608385485ef03f793e8f6b1dabfe
treee4d98130d5ca2971b6c9da89c0214a59357330f1
parent289153b97a550eadc89c05e6eddf762d24366437
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