From a2c70c00be07a287d34a455a56ca1451279eaeba Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Tue, 29 Apr 2008 22:04:56 -0400 Subject: [PATCH] --- yaml --- r: 95020 b: refs/heads/master c: 97bd42b9c8be748ad85b362ba3bd401f4d35be80 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext4/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bcc0f9ce7f60..87adc9ee0de6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1dfc3220d963385a317264b11154c462a83596ed +refs/heads/master: 97bd42b9c8be748ad85b362ba3bd401f4d35be80 diff --git a/trunk/fs/ext4/super.c b/trunk/fs/ext4/super.c index c81a8e759bad..425f42778efa 100644 --- a/trunk/fs/ext4/super.c +++ b/trunk/fs/ext4/super.c @@ -1594,8 +1594,8 @@ static void ext4_orphan_cleanup (struct super_block * sb, while (es->s_last_orphan) { struct inode *inode; - if (!(inode = - ext4_orphan_get(sb, le32_to_cpu(es->s_last_orphan)))) { + inode = ext4_orphan_get(sb, le32_to_cpu(es->s_last_orphan)); + if (IS_ERR(inode)) { es->s_last_orphan = 0; break; }