]> git.baikalelectronics.ru Git - kernel.git/commit
dax: remove the last BUG_ON() from fs/dax.c
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Tue, 8 Nov 2016 00:32:00 +0000 (11:32 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 8 Nov 2016 00:32:00 +0000 (11:32 +1100)
commitaada54f9800497cc8249c99ffcb1431c6d8e98e7
treeed1e57857d1a6a0d6c3b16e42e8492b95ecf4613
parentce95ab0fa669698805ff8841a756733a7702b5c9
dax: remove the last BUG_ON() from fs/dax.c

Don't take down the kernel if we get an invalid 'from' and 'length'
argument pair.  Just warn once and return an error.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/dax.c