summaryrefslogtreecommitdiff
path: root/include/linux/msdos_fs_sb.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-12-29 23:45:40 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 23:45:40 -0800
commitd97a51101ac90aa64cde14ffb5fe2827a7cf60c8 (patch)
tree2a3ed24a17239c4ae3cb0b6576fe4798d919a4b6 /include/linux/msdos_fs_sb.h
parent5af71cb20c14200ed1b594204b609b7eabcbb949 (diff)
[PATCH] FAT: Fix ->prev_free of fat (6/10)
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> The -1 was documented as "there is no hint", so this patch uses -1 instead of 0 for FAT32 fsinfo.
Diffstat (limited to 'include/linux/msdos_fs_sb.h')
-rw-r--r--include/linux/msdos_fs_sb.h2
1 files changed, 1 insertions, 1 deletions
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 */