]> 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)
commita23509af3407d543f0ec4591ed4cbc4732df1212
treee4d98130d5ca2971b6c9da89c0214a59357330f1
parente7e95fb7e876d34d8844172dba679e56cec88621
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