kernel - Fix serious bug w/non-blocking commit
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 24 Feb 2011 04:59:59 +0000 (20:59 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 24 Feb 2011 04:59:59 +0000 (20:59 -0800)
commit9e6f3bfc84985f675f33b8a95b66aef7b2c7bd7e
tree786ed7047553057ba02893c50dacb32140c0a7b8
parenta28fbe62077a0080b143bbd89b1df5e595047c7a
kernel - Fix serious bug w/non-blocking commit

* NDELAY isn't supposed to make HAMMER do non-block disk I/O,
  NRDELAY is the only one that does that.

* Fixes tons and tons of confusion (named, vi, tons of other
  programs that open regular files O_NONBLOCK).

Requested-by: Venkatesh Srinivas <me@endeavour.zapto.org>
sys/vfs/hammer/hammer_vnops.c