NTFS sometimes splits the initialization of a new vnode into two parts.
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 13 Apr 2006 19:25:09 +0000 (19:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 13 Apr 2006 19:25:09 +0000 (19:25 +0000)
commit61c6a8a9b417d9a1b8d1acced6167fce8cf5ae52
tree863554857e710fd6527dbcabc73fcbeb8aa488da
parent8b89010f5d27714174be944c2741e11c61c51843
NTFS sometimes splits the initialization of a new vnode into two parts.
Make sure VMIO is enabled for regular files so BUF/BIO ops work in the
second part as VREG might not be set in the first part.

Reported-by: Stefan Krueger <skrueger@meinberlikomm.de>
sys/vfs/ntfs/ntfs_subr.c