quota: use flags interface for dquot alloc/free space
authorEric Sandeen <sandeen@redhat.com>
Sun, 16 May 2010 13:00:00 +0000 (09:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 May 2010 13:00:00 +0000 (09:00 -0400)
Switch __dquot_alloc_space and __dquot_free_space to take flags
to indicate whether to warn and/or to reserve (or free reserve).

This is slightly more readable at the callpoints, and makes it
cleaner to add a "nofail" option in the next patch.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found