inode.c (472475000979a156bc32cd75caa59737f5a1caa5) | inode.c (6bb885ecd746752aa70d146b58f2f83e5e21813d) |
---|---|
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: --- 1612 unchanged lines hidden (view full) --- 1621 if (!sbi) 1622 return -ENOMEM; 1623 sb->s_fs_info = sbi; 1624 1625 sb->s_flags |= SB_NODIRATIME; 1626 sb->s_magic = MSDOS_SUPER_MAGIC; 1627 sb->s_op = &fat_sops; 1628 sb->s_export_op = &fat_export_ops; | 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: --- 1612 unchanged lines hidden (view full) --- 1621 if (!sbi) 1622 return -ENOMEM; 1623 sb->s_fs_info = sbi; 1624 1625 sb->s_flags |= SB_NODIRATIME; 1626 sb->s_magic = MSDOS_SUPER_MAGIC; 1627 sb->s_op = &fat_sops; 1628 sb->s_export_op = &fat_export_ops; |
1629 /* 1630 * fat timestamps are complex and truncated by fat itself, so 1631 * we set 1 here to be fast 1632 */ 1633 sb->s_time_gran = 1; |
|
1629 mutex_init(&sbi->nfs_build_inode_lock); 1630 ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL, 1631 DEFAULT_RATELIMIT_BURST); 1632 1633 error = parse_options(sb, data, isvfat, silent, &debug, &sbi->options); 1634 if (error) 1635 goto out_fail; 1636 --- 329 unchanged lines hidden --- | 1634 mutex_init(&sbi->nfs_build_inode_lock); 1635 ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL, 1636 DEFAULT_RATELIMIT_BURST); 1637 1638 error = parse_options(sb, data, isvfat, silent, &debug, &sbi->options); 1639 if (error) 1640 goto out_fail; 1641 --- 329 unchanged lines hidden --- |