]> git.baikalelectronics.ru Git - kernel.git/commit
dax: remove buffer_size_valid()
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Tue, 8 Nov 2016 00:31:14 +0000 (11:31 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 8 Nov 2016 00:31:14 +0000 (11:31 +1100)
commit5a71225bbc6a5f406f1d81c85fcc0a8f437a9e6c
treebc8d3241926aed790b10ae1a440f2c6298a6ae90
parente3b7067efcf62c53a71d994567aad4c72e31b1da
dax: remove buffer_size_valid()

Now that ext4 properly sets 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 <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/dax.c