git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dquot: cleanup inode allocation / freeing routines
[pandora-kernel.git]
/
fs
/
jfs
/
jfs_inode.c
diff --git
a/fs/jfs/jfs_inode.c
b/fs/jfs/jfs_inode.c
index
dc0e021
..
7762f33
100644
(file)
--- a/
fs/jfs/jfs_inode.c
+++ b/
fs/jfs/jfs_inode.c
@@
-116,10
+116,10
@@
struct inode *ialloc(struct inode *parent, umode_t mode)
/*
* Allocate inode to quota.
*/
- if (vfs_dq_alloc_inode(inode)) {
- rc = -EDQUOT;
+ vfs_dq_init(inode);
+ rc = dquot_alloc_inode(inode);
+ if (rc)
goto fail_drop;
- }
inode->i_mode = mode;
/* inherit flags from parent */