Skip to content
Snippets Groups Projects
Commit 09b74d65 authored by Andrew Perepechko's avatar Andrew Perepechko
Browse files

Branch b1_6

b=15441
i=johann
i=tianzy

quota might appear on quota files causing deadlock, this is fixed with this patch
parent 754ec615
No related branches found
No related tags found
No related merge requests found
...@@ -1855,6 +1855,8 @@ static int create_new_quota_files(struct qchk_ctxt *qctxt, ...@@ -1855,6 +1855,8 @@ static int create_new_quota_files(struct qchk_ctxt *qctxt,
GOTO(out, rc = -EINVAL); GOTO(out, rc = -EINVAL);
} }
DQUOT_DROP(file->f_dentry->d_inode);
rc = v2_write_dqheader(file, i); rc = v2_write_dqheader(file, i);
if (rc) { if (rc) {
filp_close(file, 0); filp_close(file, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment