summaryrefslogtreecommitdiff
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-03-13 23:01:07 +0800
committerIlya Dryomov <idryomov@gmail.com>2018-04-02 10:12:48 +0200
commit47474d0b011bb385719e91a60bb9ff7649d66526 (patch)
treea684ee4707ccc3a7909c975f8eec4bca61203f8c /fs/ceph/dir.c
parent57a35dfb522c8bbac622d49f5217906f9b5eceb0 (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>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions