diff options
author | Herbert Poetzl <herbert@13thfloor.at> | 2006-02-03 12:04:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 17:32:09 +0100 |
commit | 9d9c0531c91755a90b646b27bb722d59ee3eb46d (patch) | |
tree | 662992e8d6336171f6c09a13f57c96ddb017b9d3 /fs/ext2 | |
parent | [PATCH] Export cpu topology in sysfs (diff) | |
download | linux-9d9c0531c91755a90b646b27bb722d59ee3eb46d.tar.xz linux-9d9c0531c91755a90b646b27bb722d59ee3eb46d.zip |
[PATCH] quota: fix error code for ext2_new_inode()
The quota check in ext2_new_inode() returns ENOSPC where it should return
EDQUOT instead.
Signed-off-by: Herbert Pƶtzl <herbert@13thfloor.at>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c index 74714af4ae69..e52765219e16 100644 --- a/fs/ext2/ialloc.c +++ b/fs/ext2/ialloc.c @@ -605,7 +605,7 @@ got: insert_inode_hash(inode); if (DQUOT_ALLOC_INODE(inode)) { - err = -ENOSPC; + err = -EDQUOT; goto fail_drop; } |