From d97a51101ac90aa64cde14ffb5fe2827a7cf60c8 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 29 Dec 2003 23:45:40 -0800 Subject: [PATCH] FAT: Fix ->prev_free of fat (6/10) From: OGAWA Hirofumi The -1 was documented as "there is no hint", so this patch uses -1 instead of 0 for FAT32 fsinfo. --- include/linux/msdos_fs_sb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/msdos_fs_sb.h') diff --git a/include/linux/msdos_fs_sb.h b/include/linux/msdos_fs_sb.h index 546458d82ece..26d64203f086 100644 --- a/include/linux/msdos_fs_sb.h +++ b/include/linux/msdos_fs_sb.h @@ -49,7 +49,7 @@ struct msdos_sb_info { unsigned long root_cluster; /* first cluster of the root directory */ unsigned long fsinfo_sector; /* FAT32 fsinfo offset from start of disk */ struct semaphore fat_lock; - int prev_free; /* previously returned free cluster number */ + int prev_free; /* previously allocated cluster number */ int free_clusters; /* -1 if undefined */ struct fat_mount_options options; struct nls_table *nls_disk; /* Codepage used on disk */ -- cgit v1.2.3