Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14735
b: refs/heads/master
c: 154f484
h: refs/heads/master
i:
  14733: a10d198
  14731: 6f05883
  14727: 352b017
  14719: 029f646
v: v3
  • Loading branch information
Jan Kara authored and Linus Torvalds committed Nov 28, 2005
1 parent c66b883 commit 1f62354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6aea114a728db9296f42102d4885e7fb035de0a9
refs/heads/master: 154f484b92e5c25c400f6903512c511644a49322
6 changes: 6 additions & 0 deletions trunk/fs/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1513,10 +1513,16 @@ int vfs_quota_on_mount(struct super_block *sb, char *qf_name,
if (IS_ERR(dentry))
return PTR_ERR(dentry);

if (!dentry->d_inode) {
error = -ENOENT;
goto out;
}

error = security_quota_on(dentry);
if (!error)
error = vfs_quota_on_inode(dentry->d_inode, type, format_id);

out:
dput(dentry);
return error;
}
Expand Down

0 comments on commit 1f62354

Please sign in to comment.