diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:38 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:38 -0400 |
| commit | 54e514b91b95d6441c12a7955addfb9f9d2afc65 (patch) | |
| tree | 8b73d901bd2a6ec5a31f34a8954e5ea92216dd6c /fs/fat | |
| parent | 4fc8adcfec3da639da76e8314c9ccefe5bf9a045 (diff) | |
| parent | 6c8c90319c0bb1c9e0b68e721359b89ae4f28465 (diff) | |
Merge branch 'akpm' (patches from Andrew)
Merge third patchbomb from Andrew Morton:
- various misc things
- a couple of lib/ optimisations
- provide DIV_ROUND_CLOSEST_ULL()
- checkpatch updates
- rtc tree
- befs, nilfs2, hfs, hfsplus, fatfs, adfs, affs, bfs
- ptrace fixes
- fork() fixes
- seccomp cleanups
- more mmap_sem hold time reductions from Davidlohr
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (138 commits)
proc: show locks in /proc/pid/fdinfo/X
docs: add missing and new /proc/PID/status file entries, fix typos
drivers/rtc/rtc-at91rm9200.c: make IO endian agnostic
Documentation/spi/spidev_test.c: fix warning
drivers/rtc/rtc-s5m.c: allow usage on device type different than main MFD type
.gitignore: ignore *.tar
MAINTAINERS: add Mediatek SoC mailing list
tomoyo: reduce mmap_sem hold for mm->exe_file
powerpc/oprofile: reduce mmap_sem hold for exe_file
oprofile: reduce mmap_sem hold for mm->exe_file
mips: ip32: add platform data hooks to use DS1685 driver
lib/Kconfig: fix up HAVE_ARCH_BITREVERSE help text
x86: switch to using asm-generic for seccomp.h
sparc: switch to using asm-generic for seccomp.h
powerpc: switch to using asm-generic for seccomp.h
parisc: switch to using asm-generic for seccomp.h
mips: switch to using asm-generic for seccomp.h
microblaze: use asm-generic for seccomp.h
arm: use asm-generic for seccomp.h
seccomp: allow COMPAT sigreturn overrides
...
Diffstat (limited to 'fs/fat')
| -rw-r--r-- | fs/fat/cache.c | 2 | ||||
| -rw-r--r-- | fs/fat/dir.c | 4 | ||||
| -rw-r--r-- | fs/fat/fat.h | 5 | ||||
| -rw-r--r-- | fs/fat/fatent.c | 3 | ||||
| -rw-r--r-- | fs/fat/file.c | 4 | ||||
| -rw-r--r-- | fs/fat/inode.c | 13 | ||||
| -rw-r--r-- | fs/fat/misc.c | 4 | ||||
| -rw-r--r-- | fs/fat/namei_msdos.c | 2 | ||||
| -rw-r--r-- | fs/fat/namei_vfat.c | 2 |
9 files changed, 3 insertions, 36 deletions
diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 91ad9e1c9441..93fc62232ec2 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c | |||
| @@ -8,9 +8,7 @@ | |||
| 8 | * May 1999. AV. Fixed the bogosity with FAT32 (read "FAT28"). Fscking lusers. | 8 | * May 1999. AV. Fixed the bogosity with FAT32 (read "FAT28"). Fscking lusers. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/fs.h> | ||
| 12 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
| 13 | #include <linux/buffer_head.h> | ||
| 14 | #include "fat.h" | 12 | #include "fat.h" |
| 15 | 13 | ||
| 16 | /* this must be > 0. */ | 14 | /* this must be > 0. */ |
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index c5d6bb939d19..4afc4d9d2e41 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c | |||
| @@ -13,13 +13,9 @@ | |||
| 13 | * Short name translation 1999, 2001 by Wolfram Pienkoss <wp@bszh.de> | 13 | * Short name translation 1999, 2001 by Wolfram Pienkoss <wp@bszh.de> |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <linux/module.h> | ||
| 17 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
| 18 | #include <linux/time.h> | ||
| 19 | #include <linux/buffer_head.h> | ||
| 20 | #include <linux/compat.h> | 17 | #include <linux/compat.h> |
| 21 | #include <linux/uaccess.h> | 18 | #include <linux/uaccess.h> |
| 22 | #include <linux/kernel.h> | ||
| 23 | #include "fat.h" | 19 | #include "fat.h" |
| 24 | 20 | ||
| 25 | /* | 21 | /* |
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index 64e295e8ff38..be5e15323bab 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h | |||
| @@ -2,11 +2,8 @@ | |||
| 2 | #define _FAT_H | 2 | #define _FAT_H |
| 3 | 3 | ||
| 4 | #include <linux/buffer_head.h> | 4 | #include <linux/buffer_head.h> |
| 5 | #include <linux/string.h> | ||
| 6 | #include <linux/nls.h> | 5 | #include <linux/nls.h> |
| 7 | #include <linux/fs.h> | ||
| 8 | #include <linux/hash.h> | 6 | #include <linux/hash.h> |
| 9 | #include <linux/mutex.h> | ||
| 10 | #include <linux/ratelimit.h> | 7 | #include <linux/ratelimit.h> |
| 11 | #include <linux/msdos_fs.h> | 8 | #include <linux/msdos_fs.h> |
| 12 | 9 | ||
| @@ -66,7 +63,7 @@ struct msdos_sb_info { | |||
| 66 | unsigned short sec_per_clus; /* sectors/cluster */ | 63 | unsigned short sec_per_clus; /* sectors/cluster */ |
| 67 | unsigned short cluster_bits; /* log2(cluster_size) */ | 64 | unsigned short cluster_bits; /* log2(cluster_size) */ |
| 68 | unsigned int cluster_size; /* cluster size */ | 65 | unsigned int cluster_size; /* cluster size */ |
| 69 | unsigned char fats, fat_bits; /* number of FATs, FAT bits (12 or 16) */ | 66 | unsigned char fats, fat_bits; /* number of FATs, FAT bits (12,16 or 32) */ |
| 70 | unsigned short fat_start; | 67 | unsigned short fat_start; |
| 71 | unsigned long fat_length; /* FAT start & length (sec.) */ | 68 | unsigned long fat_length; /* FAT start & length (sec.) */ |
| 72 | unsigned long dir_start; | 69 | unsigned long dir_start; |
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index 260705c58062..8226557130a2 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c | |||
| @@ -3,9 +3,6 @@ | |||
| 3 | * Released under GPL v2. | 3 | * Released under GPL v2. |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #include <linux/module.h> | ||
| 7 | #include <linux/fs.h> | ||
| 8 | #include <linux/msdos_fs.h> | ||
| 9 | #include <linux/blkdev.h> | 6 | #include <linux/blkdev.h> |
| 10 | #include "fat.h" | 7 | #include "fat.h" |
| 11 | 8 | ||
diff --git a/fs/fat/file.c b/fs/fat/file.c index 1e98d333879f..cf50d93565a2 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c | |||
| @@ -10,10 +10,6 @@ | |||
| 10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
| 11 | #include <linux/compat.h> | 11 | #include <linux/compat.h> |
| 12 | #include <linux/mount.h> | 12 | #include <linux/mount.h> |
| 13 | #include <linux/time.h> | ||
| 14 | #include <linux/buffer_head.h> | ||
| 15 | #include <linux/writeback.h> | ||
| 16 | #include <linux/backing-dev.h> | ||
| 17 | #include <linux/blkdev.h> | 13 | #include <linux/blkdev.h> |
| 18 | #include <linux/fsnotify.h> | 14 | #include <linux/fsnotify.h> |
| 19 | #include <linux/security.h> | 15 | #include <linux/security.h> |
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 41b729933638..c06774658345 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -11,20 +11,12 @@ | |||
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
| 14 | #include <linux/init.h> | ||
| 15 | #include <linux/time.h> | ||
| 16 | #include <linux/slab.h> | ||
| 17 | #include <linux/seq_file.h> | ||
| 18 | #include <linux/pagemap.h> | 14 | #include <linux/pagemap.h> |
| 19 | #include <linux/mpage.h> | 15 | #include <linux/mpage.h> |
| 20 | #include <linux/buffer_head.h> | ||
| 21 | #include <linux/mount.h> | ||
| 22 | #include <linux/vfs.h> | 16 | #include <linux/vfs.h> |
| 17 | #include <linux/seq_file.h> | ||
| 23 | #include <linux/parser.h> | 18 | #include <linux/parser.h> |
| 24 | #include <linux/uio.h> | 19 | #include <linux/uio.h> |
| 25 | #include <linux/writeback.h> | ||
| 26 | #include <linux/log2.h> | ||
| 27 | #include <linux/hash.h> | ||
| 28 | #include <linux/blkdev.h> | 20 | #include <linux/blkdev.h> |
| 29 | #include <asm/unaligned.h> | 21 | #include <asm/unaligned.h> |
| 30 | #include "fat.h" | 22 | #include "fat.h" |
| @@ -1278,8 +1270,7 @@ out: | |||
| 1278 | 1270 | ||
| 1279 | static int fat_read_root(struct inode *inode) | 1271 | static int fat_read_root(struct inode *inode) |
| 1280 | { | 1272 | { |
| 1281 | struct super_block *sb = inode->i_sb; | 1273 | struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); |
| 1282 | struct msdos_sb_info *sbi = MSDOS_SB(sb); | ||
| 1283 | int error; | 1274 | int error; |
| 1284 | 1275 | ||
| 1285 | MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; | 1276 | MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO; |
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index d8da2d2e30ae..c4589e981760 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c | |||
| @@ -6,10 +6,6 @@ | |||
| 6 | * and date_dos2unix for date==0 by Igor Zhbanov(bsg@uniyar.ac.ru) | 6 | * and date_dos2unix for date==0 by Igor Zhbanov(bsg@uniyar.ac.ru) |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/module.h> | ||
| 10 | #include <linux/fs.h> | ||
| 11 | #include <linux/buffer_head.h> | ||
| 12 | #include <linux/time.h> | ||
| 13 | #include "fat.h" | 9 | #include "fat.h" |
| 14 | 10 | ||
| 15 | /* | 11 | /* |
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index a783b0e1272a..cc6a8541b668 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c | |||
| @@ -7,8 +7,6 @@ | |||
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 10 | #include <linux/time.h> | ||
| 11 | #include <linux/buffer_head.h> | ||
| 12 | #include "fat.h" | 10 | #include "fat.h" |
| 13 | 11 | ||
| 14 | /* Characters that are undesirable in an MS-DOS file name */ | 12 | /* Characters that are undesirable in an MS-DOS file name */ |
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index b8b92c2f9683..7e0974eebd8e 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c | |||
| @@ -16,10 +16,8 @@ | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
| 19 | #include <linux/jiffies.h> | ||
| 20 | #include <linux/ctype.h> | 19 | #include <linux/ctype.h> |
| 21 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
| 22 | #include <linux/buffer_head.h> | ||
| 23 | #include <linux/namei.h> | 21 | #include <linux/namei.h> |
| 24 | #include "fat.h" | 22 | #include "fat.h" |
| 25 | 23 | ||
