summaryrefslogtreecommitdiffstats
path: root/share/man/man9/extattr.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-08-21 02:59:07 +0000
committerjhb <jhb@FreeBSD.org>2009-08-21 02:59:07 +0000
commit9137c5d8b475c07cbaf42aeb2788ced063f4b32b (patch)
tree7289901c5d46b5197e5cdc4443d68bbb598ad5a4 /share/man/man9/extattr.9
parent2a42aee236ff2c0696783f6b0503b2c92d2656d9 (diff)
downloadFreeBSD-src-9137c5d8b475c07cbaf42aeb2788ced063f4b32b.zip
FreeBSD-src-9137c5d8b475c07cbaf42aeb2788ced063f4b32b.tar.gz
This patch fixes two bugs in sglist(9) and improves robustness of the API via
better semantics if a request to append an address range to an existing list fails. - When cloning an sglist, properly set the length in the new sglist instead of leaving the new list empty. - Properly compute the amount of data added to an sglist via _sglist_append_buf(). This allows sglist_consume_uio() to properly update uio_resid. - When a request to append an address range to a scatter/gather list fails, restore the sglist to the state it had at the start of the function call instead of resetting it to an empty list. Requested by: np (3) Approved by: re (kib)
Diffstat (limited to 'share/man/man9/extattr.9')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud