We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eacad04 commit 049a014Copy full SHA for 049a014
mm/madvise.c
@@ -1596,7 +1596,7 @@ static bool is_memory_failure(int behavior)
1596
static int madvise_lock(struct mm_struct *mm, int behavior)
1597
{
1598
if (is_memory_failure(behavior))
1599
- return 0;
+ return 0;
1600
1601
if (madvise_need_mmap_write(behavior)) {
1602
if (mmap_write_lock_killable(mm))
@@ -1610,7 +1610,7 @@ static int madvise_lock(struct mm_struct *mm, int behavior)
1610
static void madvise_unlock(struct mm_struct *mm, int behavior)
1611
1612
1613
- return;
+ return;
1614
1615
if (madvise_need_mmap_write(behavior))
1616
mmap_write_unlock(mm);
0 commit comments