xfs: return B_OK in xfs_free_dir_cookie() function instead of B_NOT_SUPPORTED

Change-Id: If9fa6deff9057653e7cb717fe9fe6ef1b0964c40
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6401
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
Mashijams 2023-05-02 15:42:11 +05:30 committed by Axel Dörfler
parent f18d2effbf
commit 28cea299f7

View File

@ -467,7 +467,7 @@ static status_t
xfs_free_dir_cookie(fs_volume *_volume, fs_vnode *_node, void *_cookie) xfs_free_dir_cookie(fs_volume *_volume, fs_vnode *_node, void *_cookie)
{ {
delete (DirectoryIterator*)_cookie; delete (DirectoryIterator*)_cookie;
return B_NOT_SUPPORTED; return B_OK;
} }