mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-19 15:48:53 +00:00
backend_firefox: fix directory attr update
This commit is contained in:
parent
5082e7c67c
commit
fdfd6fe069
1 changed files with 3 additions and 3 deletions
|
@ -3849,14 +3849,14 @@ bookmark_set (
|
|||
if (status < 0) {
|
||||
goto fail;
|
||||
}
|
||||
if (xattr_id >= MOZBM_XATTR_START) {
|
||||
goto end;
|
||||
}
|
||||
if (bm_cols.place_id == 0) {
|
||||
// Attempting to update moz_places fields on a directory.
|
||||
status = -EPERM;
|
||||
goto fail;
|
||||
}
|
||||
if (xattr_id >= MOZBM_XATTR_START) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
place_cols.id = bm_cols.place_id;
|
||||
status = mozplace_update(ctx, &place_cols);
|
||||
|
|
Loading…
Add table
Reference in a new issue