inode.c (e21e696edb498c7f7eed42ba3096f6bbe13927b6) inode.c (9e975dae2970d22557662761c8505ce9fd165684)
1/*
2 * linux/fs/fat/inode.c
3 *
4 * Written 1992,1993 by Werner Almesberger
5 * VFAT extensions by Gordon Chaffee, merged with msdos fs by Henrik Storner
6 * Rewritten for the constant inumbers support by Al Viro
7 *
8 * Fixes:
9 *
10 * Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
11 */
12
13#include <linux/module.h>
14#include <linux/init.h>
15#include <linux/time.h>
16#include <linux/slab.h>
17#include <linux/smp_lock.h>
18#include <linux/seq_file.h>
1/*
2 * linux/fs/fat/inode.c
3 *
4 * Written 1992,1993 by Werner Almesberger
5 * VFAT extensions by Gordon Chaffee, merged with msdos fs by Henrik Storner
6 * Rewritten for the constant inumbers support by Al Viro
7 *
8 * Fixes:
9 *
10 * Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
11 */
12
13#include <linux/module.h>
14#include <linux/init.h>
15#include <linux/time.h>
16#include <linux/slab.h>
17#include <linux/smp_lock.h>
18#include <linux/seq_file.h>
19#include <linux/msdos_fs.h>
20#include <linux/pagemap.h>
21#include <linux/mpage.h>
22#include <linux/buffer_head.h>
23#include <linux/exportfs.h>
24#include <linux/mount.h>
25#include <linux/vfs.h>
26#include <linux/parser.h>
27#include <linux/uio.h>
28#include <linux/writeback.h>
29#include <linux/log2.h>
30#include <asm/unaligned.h>
19#include <linux/pagemap.h>
20#include <linux/mpage.h>
21#include <linux/buffer_head.h>
22#include <linux/exportfs.h>
23#include <linux/mount.h>
24#include <linux/vfs.h>
25#include <linux/parser.h>
26#include <linux/uio.h>
27#include <linux/writeback.h>
28#include <linux/log2.h>
29#include <asm/unaligned.h>
30#include "fat.h"
31
32#ifndef CONFIG_FAT_DEFAULT_IOCHARSET
33/* if user don't select VFAT, this is undefined. */
34#define CONFIG_FAT_DEFAULT_IOCHARSET ""
35#endif
36
37static int fat_default_codepage = CONFIG_FAT_DEFAULT_CODEPAGE;
38static char fat_default_iocharset[] = CONFIG_FAT_DEFAULT_IOCHARSET;

--- 1480 unchanged lines hidden ---
31
32#ifndef CONFIG_FAT_DEFAULT_IOCHARSET
33/* if user don't select VFAT, this is undefined. */
34#define CONFIG_FAT_DEFAULT_IOCHARSET ""
35#endif
36
37static int fat_default_codepage = CONFIG_FAT_DEFAULT_CODEPAGE;
38static char fat_default_iocharset[] = CONFIG_FAT_DEFAULT_IOCHARSET;

--- 1480 unchanged lines hidden ---