diff options
| author | Jan Kara <[email protected]> | 2010-01-06 17:03:36 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2010-01-11 12:06:41 +0000 |
| commit | 05b5d898235401c489c68e1f3bc5706a29ad5713 (patch) | |
| tree | 2f8efc6ff1152ed53d297843891b6232a3e14eb1 /net/lapb/lapb_in.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rol... (diff) | |
| download | kernel-05b5d898235401c489c68e1f3bc5706a29ad5713.tar.gz kernel-05b5d898235401c489c68e1f3bc5706a29ad5713.zip | |
quota: Fix dquot_transfer for filesystems different from ext4
Commit fd8fbfc1 modified the way we find amount of reserved space
belonging to an inode. The amount of reserved space is checked
from dquot_transfer and thus inode_reserved_space gets called
even for filesystems that don't provide get_reserved_space callback
which results in a BUG.
Fix the problem by checking get_reserved_space callback and return 0 if
the filesystem does not provide it.
CC: Dmitry Monakhov <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
