On Mon, 25 Apr 2022 10:49:24 -0400
"C. Andy Martin" <[email protected]> wrote:

> -                                     msg->result = RESULT_ABORT;
> -                                     goto op_exit;
> +                                     if (msg->nlink == 1) {
> +                                             msg->result =
> RESULT_ABORT;
> +                                             goto op_exit;
> +                                     }

I'm distrustful of this because I feel like, in the case where we have
apparently-stale information in the database, we really should be coming
back with "we don't have valid database information", not yielding
what's probably incorrect/old data.

I'm also concerned a bit because nlink is never 1 for a directory...

-s
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164832): 
https://lists.openembedded.org/g/openembedded-core/message/164832
Mute This Topic: https://lists.openembedded.org/mt/90686441/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to