Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msync: fix incorrect fstart calculation
Fix a regression caused by 7fc34a6 ("mm/msync.c: sync only the requested range in msync()"). xfstests generic/075 fail occured on ext4 data=journal mode because the intended range was not syncing due to wrong fstart calculation. Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Ashish Sangwan <[email protected]> Reported-by: Eric Whitney <[email protected]> Tested-by: Eric Whitney <[email protected]> Acked-by: Matthew Wilcox <[email protected]> Reviewed-by: Lukas Czerner <[email protected]> Tested-by: Lukas Czerner <[email protected]> Reviewed-by: Theodore Ts'o <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information