]> git.baikalelectronics.ru Git - kernel.git/commit
dax: dax_layout_busy_page() warn on !exceptional
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Sun, 29 Jul 2018 20:59:16 +0000 (16:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2018 20:59:16 +0000 (16:59 -0400)
commit90f94a2bef441d85b53c012441fec765851b0c88
tree948dc77af5c5b9627fbe8b6fd3eb56e48556f1ef
parentce77936fedbf02f6459feac380fb8def41147b6f
dax: dax_layout_busy_page() warn on !exceptional

Inodes using DAX should only ever have exceptional entries in their page
caches.  Make this clear by warning if the iteration in
dax_layout_busy_page() ever sees a non-exceptional entry, and by adding a
comment for the pagevec_release() call which only deals with struct page
pointers.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/dax.c