commit | 47474d0b011bb385719e91a60bb9ff7649d66526 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Tue Mar 13 23:01:07 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Apr 02 10:12:48 2018 +0200 |
tree | a684ee4707ccc3a7909c975f8eec4bca61203f8c | |
parent | 57a35dfb522c8bbac622d49f5217906f9b5eceb0 [diff] |
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>