Whamcloud - gitweb
Branch b1_6
authoranserper <anserper>
Mon, 28 Apr 2008 20:51:51 +0000 (20:51 +0000)
committeranserper <anserper>
Mon, 28 Apr 2008 20:51:51 +0000 (20:51 +0000)
b=15441
i=johann
i=tianzy

quota might appear on quota files causing deadlock, this is fixed with this patch

lustre/lvfs/fsfilt_ext3.c

index 88f31b8..d134000 100644 (file)
@@ -1855,6 +1855,8 @@ static int create_new_quota_files(struct qchk_ctxt *qctxt,
                         GOTO(out, rc = -EINVAL);
                 }
 
+                DQUOT_DROP(file->f_dentry->d_inode);
+
                 rc = v2_write_dqheader(file, i);
                 if (rc) {
                         filp_close(file, 0);