Whamcloud - gitweb
LU-14494 mdt: check object exists in mdt_close_handle_layouts() 05/41905/7
authorJohn L. Hammond <jhammond@whamcloud.com>
Fri, 5 Mar 2021 18:47:43 +0000 (12:47 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Mar 2021 04:16:18 +0000 (04:16 +0000)
In mdt_close_handle_layouts() the client supplied FID may not identify
an existing object. So check for this before calling lu_object_attr().

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ib1710ca4bf7587e0496b3a37a2afb65f81250455
Reviewed-on: https://review.whamcloud.com/41905
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>

No differences found