* mount.cc (fs_names): Add missing ReFS entry. Change comment.

* mount.h (enum fs_info_type): Add comment.
This commit is contained in:
Corinna Vinschen 2012-08-14 09:49:25 +00:00
parent 2134b7a5b0
commit 3cef8ecc61
3 changed files with 10 additions and 1 deletions

View File

@ -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.

View File

@ -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 },

View File

@ -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,