diff options
author | jhb <jhb@FreeBSD.org> | 2008-11-04 18:56:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-11-04 18:56:12 +0000 |
commit | 9f264a6a75c77b629a7483254b17b870d9d292a8 (patch) | |
tree | 6751e79ac4a09b667fe441abe42d8faa25a0465f /sys/fs | |
parent | 5af731a4af426e3560bdee4d0f855b488a04013c (diff) | |
download | FreeBSD-src-9f264a6a75c77b629a7483254b17b870d9d292a8.zip FreeBSD-src-9f264a6a75c77b629a7483254b17b870d9d292a8.tar.gz |
Quiet a WITNESS warning with the dirhash sx locks by setting the DUPOK
flag. Specifically, if two threads race to create a dirhash for a
directory, then one might already have created a private dirhash
structure (and locked it) when it realizes the directory now has a
structure and tries to lock that one.
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions