diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-03-13 23:01:07 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 10:12:48 +0200 |
commit | 47474d0b011bb385719e91a60bb9ff7649d66526 (patch) | |
tree | a684ee4707ccc3a7909c975f8eec4bca61203f8c /include | |
parent | 57a35dfb522c8bbac622d49f5217906f9b5eceb0 (diff) | |
download | talos-obmc-linux-47474d0b011bb385719e91a60bb9ff7649d66526.tar.gz talos-obmc-linux-47474d0b011bb385719e91a60bb9ff7649d66526.zip |
ceph: optimize mds session register
Do memory allocation first, so that avoid unnecessary
initialization of newly allocated session in error case.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions