[PATCH] Fix return value in reiserfs allocator
commit0ad74ffa90fb20b4132ae6e67e473f24621c6af2
authorJan Kara <jack@suse.cz>
Wed, 9 Nov 2005 05:34:58 +0000 (8 21:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:55:58 +0000 (9 07:55 -0800)
tree458abb41b477579041674d02131ae295fa7d622c
parent41a34a4fe1d4478b1c8b6b6ea634ab1adb156885
[PATCH] Fix return value in reiserfs allocator

Make reiserfs correctly return EDQUOT when the allocation failed due to
quotas (so far we just returned ENOSPC).

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/file.c