diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-09-12 05:35:47 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-09-12 05:35:47 +0000 |
commit | d12caa21f397e57cf258a78af45b521a152c7fbe (patch) | |
tree | c57a29e113eec3e8f96849b3604d2d7cff60e15c /lib/libc/stdlib/heapsort.c | |
parent | ea8dfc9145dd748619fa78e2a840561cccbab6b8 (diff) | |
download | FreeBSD-src-d12caa21f397e57cf258a78af45b521a152c7fbe.zip FreeBSD-src-d12caa21f397e57cf258a78af45b521a152c7fbe.tar.gz |
o Variety of extended attribute fixes
- In ufs_extattr_enable(), return EEXIST instead of EOPNOTSUPP
if the caller tries to configure an attribute name that is
already configured
- Throughout, add IO_NODELOCKED to VOP_{READ,WRITE} calls to
indicate lock status of passed vnode. Apparently not a
problem, but worth fixing.
- For all writes, make use of IO_SYNC consistent. Really,
IO_UNIT and combining of VOP_WRITE's should happen, but I
don't have that tested. At least with this, it's
consistent usage. (pointed out by: bde)
- In ufs_extattr_get(), fixed nested locking of backing
vnode (fine due to recursive lock support, but make it
more consistent with other code)
- In ufs_extattr_get(), clean up return code to set uio_resid
more consistently with other pieces of code (worked fine,
this is just a cleanup)
- Fix ufs_extattr_rm(), which was broken--effectively a nop.
- Minor comment and whitespace fixes.
Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/stdlib/heapsort.c')
0 files changed, 0 insertions, 0 deletions