Skip to content

Commit

Permalink
msync04: Convert docs to docparse + update
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jun 17, 2024
1 parent 21be0b1 commit fc0b2b4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions testcases/kernel/syscalls/msync/msync04.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2017 Red Hat, Inc.
*
* Copyright (c) Linux Test Project, 2017-2024
*/

/*
* Test description: Verify msync() after writing into mmap()-ed file works.
/*\
* [Description]
*
* Verify msync() after writing into mmap()-ed file works.
*
* Write to mapped region and sync the memory back with file. Check the page
* is no longer dirty after msync() call.
*
* In case the dirty bit is not set, check the content of file to verify
* the data is stored on disk.
*/

#define _GNU_SOURCE
Expand Down

0 comments on commit fc0b2b4

Please sign in to comment.