Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4003
b: refs/heads/master
c: 532a39a
h: refs/heads/master
i:
  4001: 91266fd
  3999: 48ef3ad
v: v3
  • Loading branch information
Pekka J Enberg authored and Linus Torvalds committed Jun 30, 2005
1 parent 78b855c commit a2da33d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 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: 9ec55a9bd365dfc78945bb8e6bf5d0fdf1d75ad0
refs/heads/master: 532a39a3754a3b8ce507414863023f8db21f9a7c
19 changes: 14 additions & 5 deletions trunk/fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,12 +1331,21 @@ void __exit fat_cache_destroy(void);

static int __init init_fat_fs(void)
{
int ret;
int err;

ret = fat_cache_init();
if (ret < 0)
return ret;
return fat_init_inodecache();
err = fat_cache_init();
if (err)
return err;

err = fat_init_inodecache();
if (err)
goto failed;

return 0;

failed:
fat_cache_destroy();
return err;
}

static void __exit exit_fat_fs(void)
Expand Down

0 comments on commit a2da33d

Please sign in to comment.