generic: mmap write readonly DAX file

Regression case that one can write to read-only
file in a DAX mountpoint.

Signed-off-by: Xiong Zhou <xzhou@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Xiong Zhou
2017-09-28 15:41:39 +08:00
committed by Eryu Guan
parent 594a841079
commit 5299132593
6 changed files with 179 additions and 1 deletions
+1
View File
@@ -123,6 +123,7 @@
/src/t_mmap_dio
/src/t_mmap_fallocate
/src/t_mmap_stale_pmd
/src/t_mmap_write_ro
/src/t_mmap_writev
/src/t_mtab
/src/t_readdir_1