diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-03-13 18:01:07 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 11:12:48 +0300 |
commit | 47474d0b011bb385719e91a60bb9ff7649d66526 (patch) | |
tree | a684ee4707ccc3a7909c975f8eec4bca61203f8c /crypto/memneq.c | |
parent | 57a35dfb522c8bbac622d49f5217906f9b5eceb0 (diff) | |
download | linux-47474d0b011bb385719e91a60bb9ff7649d66526.tar.xz |
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 'crypto/memneq.c')
0 files changed, 0 insertions, 0 deletions