summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/mount.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-10-21 08:29:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-10-21 08:29:19 +0000
commit69178ca038167aac9b18b86391489ad4f1e8a3e3 (patch)
treeb7f5c52062ef3081f8fdf5b0514d323c59497ff0 /winsup/cygwin/mount.h
parentb2099ee728addd34b0497bcddcc0fcd6a2503f0b (diff)
downloadcygnal-69178ca038167aac9b18b86391489ad4f1e8a3e3.tar.gz
cygnal-69178ca038167aac9b18b86391489ad4f1e8a3e3.tar.bz2
cygnal-69178ca038167aac9b18b86391489ad4f1e8a3e3.zip
* globals.cc (ro_u_ncfsd): New R/O unicode string.
* mount.cc (fs_info::update): Check for "NcFsd" FS. Set flags and change comments accordingly. (fs_names): Add entry for NcFsd FS. * mount.h (enum fs_info_type): Add ncfsd. (class fs_info): Add ncfsd flag and accessor methods. * path.h (class path_conv): Add fs_is_ncfsd method. * syscalls.cc (unlink_nt): Experimentally try delete-on-close on NcFsd in STATUS_CANNOT_DELETE case.
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r--winsup/cygwin/mount.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h
index dece2a84a..0f0690a82 100644
--- a/winsup/cygwin/mount.h
+++ b/winsup/cygwin/mount.h
@@ -1,7 +1,7 @@
/* mount.h: mount definitions.
Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
- 2006, 2007, 2008, 2009, 2010 Red Hat, Inc.
+ 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -28,6 +28,7 @@ enum fs_info_type
mvfs,
cifs,
nwfs,
+ ncfsd,
/* Always last. */
max_fs_type
};
@@ -97,6 +98,7 @@ class fs_info
IMPLEMENT_FS_FLAG (mvfs)
IMPLEMENT_FS_FLAG (cifs)
IMPLEMENT_FS_FLAG (nwfs)
+ IMPLEMENT_FS_FLAG (ncfsd)
fs_info_type what_fs () const { return status.fs_type; }
ULONG serial_number () const { return sernum; }