Skip to content

Commit

Permalink
libzfs_FQ.c: fix(lib): Fix bug where xattrs were only being parsed if…
Browse files Browse the repository at this point in the history
… 'a{}' was set, ergo missing 'x' parsing
  • Loading branch information
TerraTech committed Feb 16, 2021
1 parent 5e23cc4 commit 19a9c60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/libzfs/libzfs_FQ.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ FQget_xattrs(zfs_handle_t *zhp, FQxattrs_t *xattrs) {

verify(nvlist_lookup_string(propval, ZPROP_VALUE, &(xattrs->xattrs)) == 0);

if (FQxattrs_has_a(xattrs))
(void) FQxattrs_parse(xattrs);
(void) FQxattrs_parse(xattrs);

return (B_TRUE);
}
Expand Down

0 comments on commit 19a9c60

Please sign in to comment.