Re: [PATCH 3/6 linux-next] ext4: create EXT4_MAX_BLOCKS() macro

2016-09-15 Thread Theodore Ts'o
On Wed, Aug 24, 2016 at 10:03:17PM +0200, Fabian Frederick wrote: > Create a macro to calculate length + offset -> maximum blocks > This adds more readability. > > Signed-off-by: Fabian Frederick Applied, thanks. - Ted

[PATCH 3/6 linux-next] ext4: create EXT4_MAX_BLOCKS() macro

2016-08-24 Thread Fabian Frederick
Create a macro to calculate length + offset -> maximum blocks This adds more readability. Signed-off-by: Fabian Frederick --- fs/ext4/ext4.h| 3 +++ fs/ext4/extents.c | 15 +++ fs/ext4/file.c| 3 +-- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/fs/ext4/ex