summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorCruz Julian Bishop <cruzjbishop@gmail.com>2012-10-04 17:14:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-06 03:05:10 +0900
commitc90518290ec88a45305a709aae72003a9bc8ad7c (patch)
tree8a3de56794b0a5117672ec62300ebded30478816 /fs/fat
parent4a3aeb13b774a941823b58715eb4144acedae92a (diff)
downloadlwn-c90518290ec88a45305a709aae72003a9bc8ad7c.tar.gz
lwn-c90518290ec88a45305a709aae72003a9bc8ad7c.zip
fs/fat: fix two checkpatch issues in cache.c
This does the following: 1: Splits the arguments of a function call to stop it from exceeding 80 characters 2: Re-indents the arguments of another function call to prevent the splitting of a quoted string. Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat')
-rw-r--r--fs/fat/cache.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/fat/cache.c b/fs/fat/cache.c
index 1cc7038e273d..91ad9e1c9441 100644
--- a/fs/fat/cache.c
+++ b/fs/fat/cache.c
@@ -190,7 +190,8 @@ static void __fat_cache_inval_inode(struct inode *inode)
struct fat_cache *cache;
while (!list_empty(&i->cache_lru)) {
- cache = list_entry(i->cache_lru.next, struct fat_cache, cache_list);
+ cache = list_entry(i->cache_lru.next,
+ struct fat_cache, cache_list);
list_del_init(&cache->cache_list);
i->nr_caches--;
fat_cache_free(cache);
@@ -261,9 +262,10 @@ int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus)
if (nr < 0)
goto out;
else if (nr == FAT_ENT_FREE) {
- fat_fs_error_ratelimit(sb, "%s: invalid cluster chain"
- " (i_pos %lld)", __func__,
- MSDOS_I(inode)->i_pos);
+ fat_fs_error_ratelimit(sb,
+ "%s: invalid cluster chain (i_pos %lld)",
+ __func__,
+ MSDOS_I(inode)->i_pos);
nr = -EIO;
goto out;
} else if (nr == FAT_ENT_EOF) {