diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-08-14 13:49:25 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-08-14 13:49:25 +0400 |
commit | 3cef8ecc610c41f3358464ef51312085a519163f (patch) | |
tree | 67eadff86a31a9ca0b21660fb76ec0bafd344394 /winsup | |
parent | 2134b7a5b0c0778e08553f6d4ef91974b896041b (diff) |
* mount.cc (fs_names): Add missing ReFS entry. Change comment.
* mount.h (enum fs_info_type): Add comment.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/mount.cc | 4 | ||||
-rw-r--r-- | winsup/cygwin/mount.h | 2 |
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, |