Skip to content
Commit 6184fc0b authored by Jan Kara's avatar Jan Kara Committed by Jan Kara
Browse files

quota: Propagate error from ->acquire_dquot()



Currently when some error happened in ->acquire_dquot(), dqget() just
returned NULL. That was indistinguishable from a case when e.g. someone
run quotaoff and so was generally silently ignored. However
->acquire_dquot() can fail because of ENOSPC or EIO in which case user
should better know. So propagate error up from ->acquire_dquot properly.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent d725e66c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment