diff options
author | kib <kib@FreeBSD.org> | 2013-09-22 19:23:48 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-09-22 19:23:48 +0000 |
commit | 46dd93739bb63f7f7791e941da58c8c7c43572bb (patch) | |
tree | 802ceeb7850fde430eb773152eb503c5d231fb0a /contrib/diff/lib/basename.c | |
parent | c4b7751552a7ca56d5a3824e2a56cd9f00731b88 (diff) | |
download | FreeBSD-src-46dd93739bb63f7f7791e941da58c8c7c43572bb.zip FreeBSD-src-46dd93739bb63f7f7791e941da58c8c7c43572bb.tar.gz |
Increase the chance of the buffer write from the bufdaemon helper
context to succeed. If the locked vnode which owns the buffer to be
written is shared locked, try the non-blocking upgrade of the lock to
exclusive.
PR: kern/178997
Reported and tested by: Klaus Weber <fbsd-bugs-2013-1@unix-admin.de>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (marius)
Diffstat (limited to 'contrib/diff/lib/basename.c')
0 files changed, 0 insertions, 0 deletions