From 06eaa8439c61578919fd42f2bda5e39d3b459dcd Mon Sep 17 00:00:00 2001 From: Phillip Lougher Date: Fri, 16 Apr 2010 01:01:36 +0100 Subject: [PATCH] --- yaml --- r: 190310 b: refs/heads/master c: 1cb08e97389bb603e1b999312d9686c8faf0187a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/squashfs/super.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 429294c16dd7..c2472db84c67 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 792590c72376649b4e315df386fd208b83db05b9 +refs/heads/master: 1cb08e97389bb603e1b999312d9686c8faf0187a diff --git a/trunk/fs/squashfs/super.c b/trunk/fs/squashfs/super.c index 3550aec2f655..07ceeb8d8f53 100644 --- a/trunk/fs/squashfs/super.c +++ b/trunk/fs/squashfs/super.c @@ -275,7 +275,8 @@ static int squashfs_fill_super(struct super_block *sb, void *data, int silent) err = squashfs_read_inode(root, root_inode); if (err) { - iget_failed(root); + make_bad_inode(root); + iput(root); goto failed_mount; } insert_inode_hash(root);