From 76a31822e6c7e33ca39864fa5fe9edfe3e53d99f Mon Sep 17 00:00:00 2001 From: Amir Goldstein Date: Mon, 16 May 2011 09:59:13 -0400 Subject: [PATCH] --- yaml --- r: 251730 b: refs/heads/master c: 0b26859027ce0005ef89520af20351360e51ad76 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext4/super.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index da7e993bf10d..bc47f87b9f96 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6976a6f2acde2b0443cd64f1d08af90630e4ce81 +refs/heads/master: 0b26859027ce0005ef89520af20351360e51ad76 diff --git a/trunk/fs/ext4/super.c b/trunk/fs/ext4/super.c index fc827bb2a69b..268935118251 100644 --- a/trunk/fs/ext4/super.c +++ b/trunk/fs/ext4/super.c @@ -4681,6 +4681,9 @@ static int ext4_quota_off(struct super_block *sb, int type) if (test_opt(sb, DELALLOC)) sync_filesystem(sb); + if (!inode) + goto out; + /* Update modification times of quota files when userspace can * start looking at them */ handle = ext4_journal_start(inode, 1);