Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330137
b: refs/heads/master
c: c905182
h: refs/heads/master
i:
  330135: e41d4e5
v: v3
  • Loading branch information
Cruz Julian Bishop authored and Linus Torvalds committed Oct 5, 2012
1 parent 5b47277 commit 726ccee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a3aeb13b774a941823b58715eb4144acedae92a
refs/heads/master: c90518290ec88a45305a709aae72003a9bc8ad7c
10 changes: 6 additions & 4 deletions trunk/fs/fat/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 726ccee

Please sign in to comment.