Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-08-14 13:49:25 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-08-14 13:49:25 +0400
commit3cef8ecc610c41f3358464ef51312085a519163f (patch)
tree67eadff86a31a9ca0b21660fb76ec0bafd344394
parent2134b7a5b0c0778e08553f6d4ef91974b896041b (diff)
* mount.cc (fs_names): Add missing ReFS entry. Change comment.
* mount.h (enum fs_info_type): Add comment.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/mount.cc4
-rw-r--r--winsup/cygwin/mount.h2
3 files changed, 10 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 43d87317b..f3b9819c3 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-14 Corinna Vinschen <corinna@vinschen.de>
+
+ * mount.cc (fs_names): Add missing ReFS entry. Change comment.
+ * mount.h (enum fs_info_type): Add comment.
+
2012-08-13 Christopher Faylor <me.cygwin2012@cgf.cx>
* errno.cc (errmap): Map ERROR_SXS_CANT_GEN_ACTCTX to ELIBBAD.
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 125f248e4..cbd2f3fc1 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -1572,11 +1572,13 @@ mount_info::del_item (const char *path, unsigned flags)
/************************* mount_item class ****************************/
-/* Order must be identical to mount.h, enum fs_info_type. */
+/* Don't add new fs types without adding them to fs_info_type in mount.h!
+ Don't reorder without reordering fs_info_type in mount.h!*/
fs_names_t fs_names[] = {
{ "none", false },
{ "vfat", true },
{ "ntfs", true },
+ { "refs", true },
{ "smbfs", false },
{ "nfs", false },
{ "netapp", false },
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h
index 1d3b7451b..e010c72c8 100644
--- a/winsup/cygwin/mount.h
+++ b/winsup/cygwin/mount.h
@@ -24,6 +24,8 @@ enum disk_type
disk_type get_disk_type (LPCWSTR);
+/* Don't add new fs types without adding them to fs_names in mount.cc!
+ Don't reorder without reordering fs_names in mount.cc! */
enum fs_info_type
{
none = 0,