diff --git a/[refs] b/[refs] index dbf1986e266a..bfc85327c43a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f84398068d9c2babe41500504ef247ae07081857 +refs/heads/master: 88a0a53d702b1fa39ed9e631939d2dbd92dfe486 diff --git a/trunk/fs/romfs/super.c b/trunk/fs/romfs/super.c index 47f132df0c3f..c117fa80d1e9 100644 --- a/trunk/fs/romfs/super.c +++ b/trunk/fs/romfs/super.c @@ -528,7 +528,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent) pos = (ROMFH_SIZE + len + 1 + ROMFH_PAD) & ROMFH_MASK; root = romfs_iget(sb, pos); - if (!root) + if (IS_ERR(root)) goto error; sb->s_root = d_alloc_root(root);