]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/mds_client.c
ceph: -EINVAL on decoding failure in ceph_mdsc_handle_fsmap()
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Oct 2017 08:32:50 +0000 (10:32 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 13 Nov 2017 11:11:39 +0000 (12:11 +0100)
commit76bd6ec4988065d39983ba8e93bb738313f68050
tree8c64b12229d06002ff7b6232201036a52dd02f7f
parent933ad2c9c8bbb1623c2d3c5753ad340152e15d9d
ceph: -EINVAL on decoding failure in ceph_mdsc_handle_fsmap()

Don't set ->mdsmap_err to -ENOENT unconditionally, and drop unneeded
return statement while at it.

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