fat: Update free_clusters even if it is untrusted
[deliverable/linux.git] / include / linux / msdos_fs.h
index 81fb9bc5322038a82db4f4fc2708a2c7b6152b04..0bca157ddca51028d6455a8df1b5ee0248cd6a82 100644 (file)
@@ -233,6 +233,7 @@ struct msdos_sb_info {
        struct mutex fat_lock;
        unsigned int prev_free;      /* previously allocated cluster number */
        unsigned int free_clusters;  /* -1 if undefined */
+       unsigned int free_clus_valid; /* is free_clusters valid? */
        struct fat_mount_options options;
        struct nls_table *nls_disk;  /* Codepage used on disk */
        struct nls_table *nls_io;    /* Charset used for input and display */
This page took 0.024873 seconds and 5 git commands to generate.