Byongho Lee
ee22184b53
Btrfs: use linux/sizes.h to represent constants
...
We use many constants to represent size and offset value. And to make
code readable we use '256 * 1024 * 1024' instead of '268435456' to
represent '256MB'. However we can make far more readable with 'SZ_256MB'
which is defined in the 'linux/sizes.h'.
So this patch replaces 'xxx * 1024 * 1024' kind of expression with
single 'SZ_xxxMB' if 'xxx' is a power of 2 then 'xxx * SZ_1M' if 'xxx' is
not a power of 2. And I haven't touched to '4096' & '8192' because it's
more intuitive than 'SZ_4KB' & 'SZ_8KB'.
Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-01-07 14:38:02 +01:00
..
2016-01-07 14:38:02 +01:00
2014-06-09 17:20:42 -07:00
2015-08-31 11:46:40 -07:00
2015-08-31 11:46:40 -07:00
2015-11-25 05:22:08 -08:00
2015-01-14 19:23:47 +01:00
2015-09-21 13:47:55 -07:00
2015-10-21 18:21:40 -07:00
2013-11-24 16:33:41 -07:00
2015-11-07 14:32:45 -08:00
2015-02-16 18:48:44 +01:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:30:17 +01:00
2014-01-28 13:20:09 -08:00
2015-10-26 19:44:39 -07:00
2015-10-26 19:44:39 -07:00
2015-10-12 16:24:40 -07:00
2012-12-12 17:15:41 -05:00
2014-11-20 17:20:07 -08:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:38:02 +01:00
2015-10-06 06:55:23 -07:00
2016-01-07 14:38:02 +01:00
2015-10-21 18:37:45 -07:00
2014-11-21 11:59:54 -08:00
2014-06-19 14:20:55 -07:00
2016-01-07 14:38:02 +01:00
2015-06-10 09:25:49 -07:00
2015-03-25 10:52:48 -07:00
2015-12-18 15:35:08 -08:00
2016-01-07 14:38:02 +01:00
2015-10-21 18:55:40 -07:00
2014-10-14 10:51:22 +02:00
2014-01-28 13:20:31 -08:00
2015-09-29 16:30:00 +02:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:38:02 +01:00
2015-01-06 11:04:29 -08:00
2016-01-07 14:30:52 +01:00
2014-11-19 10:34:35 -08:00
2015-02-16 18:48:44 +01:00
2014-06-09 17:20:49 -07:00
2015-03-03 17:23:57 +01:00
2015-10-21 18:51:40 -07:00
2015-10-21 18:51:40 -07:00
2014-09-17 13:37:12 -07:00
2014-10-02 17:14:50 +02:00
2013-05-06 15:55:23 -04:00
2015-10-21 18:28:48 +02:00
2014-01-28 13:20:24 -08:00
2015-11-25 05:27:33 -08:00
2015-10-21 18:41:10 -07:00
2016-01-07 14:30:52 +01:00
2015-08-09 07:34:26 -07:00
2015-10-21 18:29:50 +02:00
2015-10-25 19:53:26 +00:00
2015-10-21 18:21:40 -07:00
2016-01-07 14:30:52 +01:00
2015-10-13 20:04:10 +01:00
2016-01-07 14:38:02 +01:00
2012-07-23 16:28:06 -04:00
2016-01-07 14:38:02 +01:00
2015-09-29 16:29:59 +02:00
2015-09-29 16:29:59 +02:00
2016-01-07 14:30:00 +01:00
2015-12-10 11:22:38 +00:00
2015-08-31 11:46:41 -07:00
2015-10-25 19:53:26 +00:00
2015-03-26 17:56:23 -07:00
2015-06-10 09:26:17 -07:00
2015-06-10 09:26:17 -07:00
2014-09-17 13:38:02 -07:00
2016-01-07 14:38:02 +01:00
2016-01-07 14:38:02 +01:00
2015-11-09 18:34:40 +00:00
2014-01-25 23:58:18 -05:00
2015-02-16 18:48:44 +01:00