dma: don't block when trying to aquire a queue file master
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Jul 2009 23:21:44 +0000 (01:21 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Jul 2009 23:21:44 +0000 (01:21 +0200)
commitb95bffd0bae1f4dcf763f209ee67c294646b73ae
tree5364e493206de4a91b7f4cd9ed3ec90fac73d463
parent590695bcf6a6a4dae899d76ea6cbcbd4f53651e1
dma: don't block when trying to aquire a queue file

We might race with some other process, so it is imperative to treat a
locked file as a soft error instead of blocking on the file until the
other process unlocks it.
libexec/dma/spool.c