Re: [PATCH 3/7] dax: remove buffer_size_valid()

2016-08-16 Thread Jan Kara
On Mon 15-08-16 13:09:14, Ross Zwisler wrote: > Now that all our supported filesystems (ext2, ext4 and XFS) all properly > set bh.b_size when we call get_block() for a hole, rely on that value and > remove the buffer_size_valid() sanity check. > > Signed-off-by: Ross Zwisler

Re: [PATCH 3/7] dax: remove buffer_size_valid()

2016-08-16 Thread Jan Kara
On Mon 15-08-16 13:09:14, Ross Zwisler wrote: > Now that all our supported filesystems (ext2, ext4 and XFS) all properly > set bh.b_size when we call get_block() for a hole, rely on that value and > remove the buffer_size_valid() sanity check. > > Signed-off-by: Ross Zwisler Looks good. You can

[PATCH 3/7] dax: remove buffer_size_valid()

2016-08-15 Thread Ross Zwisler
Now that all our supported filesystems (ext2, ext4 and XFS) all properly set bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler --- fs/dax.c | 22 +- 1

[PATCH 3/7] dax: remove buffer_size_valid()

2016-08-15 Thread Ross Zwisler
Now that all our supported filesystems (ext2, ext4 and XFS) all properly set bh.b_size when we call get_block() for a hole, rely on that value and remove the buffer_size_valid() sanity check. Signed-off-by: Ross Zwisler --- fs/dax.c | 22 +- 1 file changed, 1 insertion(+),