mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
cephfs: close dir
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
822794c242
commit
9574fa881b
@ -393,6 +393,7 @@ func getBackingSnapshotRoot(
|
||||
|
||||
return "", status.Errorf(codes.Internal, err.Error())
|
||||
}
|
||||
defer dir.Close()
|
||||
|
||||
// Read the contents of <root path>/.snap directory into a string slice.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user