dax: Fix condition for filling of PMD holes
authorJan Kara <jack@suse.cz>
Thu, 12 May 2016 16:29:14 +0000 (18:29 +0200)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 19 May 2016 21:13:00 +0000 (15:13 -0600)
commitb9953536c95fd0013695542bfa4694c7468673aa
treea09a87cae89652322866b03f3228411490f8a15c
parent40543f62cbdce42633e3fe10923099feee272e1f
dax: Fix condition for filling of PMD holes

Currently dax_pmd_fault() decides to fill a PMD-sized hole only if
returned buffer has BH_Uptodate set. However that doesn't get set for
any mapping buffer so that branch is actually a dead code. The
BH_Uptodate check doesn't make any sense so just remove it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
fs/dax.c