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 /fs/ceph/dir.c | |
parent | 57a35dfb522c8bbac622d49f5217906f9b5eceb0 (diff) | |
download | linux-stable-47474d0b011bb385719e91a60bb9ff7649d66526.tar.gz linux-stable-47474d0b011bb385719e91a60bb9ff7649d66526.tar.bz2 linux-stable-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 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions