Jan Kara
05b5d89823
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 <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2010-01-11 13:06:41 +01:00
..
2009-12-01 07:35:11 -08:00
2009-09-24 07:21:05 -07:00
2009-06-11 21:36:14 -04:00
2009-12-10 15:02:50 +01:00
2009-09-21 15:14:58 +02:00
2009-12-16 07:19:58 -08:00
2009-09-24 07:47:42 -04:00
2009-07-12 12:22:34 -07:00
2009-12-17 16:01:03 -08:00
2009-12-16 12:16:47 -05:00
2009-12-31 15:17:26 -08:00
2009-11-18 08:37:40 -08:00
2009-09-11 09:20:26 +02:00
2009-12-11 11:24:53 -08:00
2009-12-11 15:18:05 -08:00
2009-12-10 09:33:59 -08:00
2009-12-17 10:57:30 -05:00
2009-06-17 00:36:36 -04:00
2010-01-05 09:14:32 +02:00
2009-10-27 19:34:04 -04:00
2009-12-16 12:04:02 -08:00
2009-12-23 13:44:12 +01:00
2010-01-01 02:41:30 -05:00
2009-12-16 10:29:26 -08:00
2009-07-12 12:22:34 -07:00
2009-12-16 07:20:13 -08:00
2009-11-27 16:37:13 +01:00
2009-12-17 13:23:24 -08:00
2009-12-15 08:53:10 -08:00
2009-10-29 07:39:27 -07:00
2009-06-30 18:56:03 -07:00
2009-12-16 07:20:06 -08:00
2009-12-16 12:16:47 -05:00
2009-12-16 10:43:34 -08:00
2009-12-23 13:44:13 +01:00
2009-12-23 08:05:15 -05:00
2009-12-16 12:04:02 -08:00
2009-12-22 12:27:35 -05:00
2009-12-16 10:43:34 -08:00
2009-09-23 07:39:57 -07:00
2009-12-04 15:39:55 +01:00
2010-01-06 18:48:26 -05:00
2010-01-06 18:10:15 -08:00
2009-12-25 13:01:50 +09:00
2009-09-30 09:31:14 -07:00
2009-12-16 12:16:42 -05:00
2009-12-17 11:03:25 -05:00
2009-12-30 19:53:35 -08:00
2009-12-04 15:39:55 +01:00
2009-11-23 09:29:58 +01:00
2009-12-19 09:47:49 -08:00
2009-12-16 07:20:18 -08:00
2010-01-11 13:06:41 +01:00
2009-12-17 15:45:31 -08:00
2010-01-08 14:03:55 -08:00
2009-10-11 11:33:56 -07:00
2009-09-24 07:47:42 -04:00
2009-09-22 07:17:24 -07:00
2010-01-04 12:34:46 -08:00
2009-06-17 00:36:37 -04:00
2009-12-17 11:03:25 -05:00
2009-12-14 21:40:04 +01:00
2009-12-16 07:20:06 -08:00
2010-01-08 13:32:29 -06:00
2009-12-16 07:20:13 -08:00
2009-12-22 12:27:34 -05:00
2009-09-24 08:41:47 -04:00
2009-12-17 15:45:31 -08:00
2010-01-06 18:16:02 -08:00
2009-12-17 15:45:31 -08:00
2009-12-17 15:45:31 -08:00
2009-12-17 15:45:31 -08:00
2009-07-01 10:56:25 +02:00
2009-12-09 19:43:33 -08:00
2009-11-03 21:14:39 +01:00
2009-09-25 09:27:30 -07:00
2009-09-24 07:21:03 -07:00
2009-12-22 12:27:33 -05:00
2009-12-14 18:12:10 -05:00
2009-12-16 12:16:48 -05:00
2009-12-17 04:52:13 -05:00
2009-09-24 07:21:04 -07:00
2009-12-22 12:27:34 -05:00
2009-12-22 12:27:34 -05:00
2009-12-17 15:45:31 -08:00
2009-11-17 17:40:33 -08:00
2009-12-22 12:27:33 -05:00
2009-10-11 11:20:58 -07:00
2010-01-02 10:09:44 -08:00
2009-12-16 12:16:49 -05:00
2009-12-17 11:03:25 -05:00
2009-12-22 12:27:34 -05:00
2009-11-12 07:26:01 -08:00
2009-12-17 13:23:24 -08:00
2009-12-16 12:16:48 -05:00
2009-09-22 07:17:25 -07:00
2009-12-30 12:35:44 -08:00
2009-12-17 12:51:05 -08:00
2009-12-14 18:12:11 -05:00
2009-12-22 12:27:34 -05:00
2009-12-17 10:51:40 -05:00
2009-11-04 09:09:52 +01:00
2009-10-04 15:05:10 -07:00
2009-09-24 07:47:35 -04:00
2009-12-22 12:27:34 -05:00
2009-11-04 09:09:52 +01:00
2009-12-17 10:58:17 -05:00
2009-12-23 13:33:54 +01:00
2009-12-23 11:23:43 -08:00
2009-12-17 11:03:25 -05:00
2009-12-22 12:27:34 -05:00
2009-12-03 11:48:07 +00:00
2009-12-16 12:16:49 -05:00