mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'akpm' (patches from Andrew)
Merge misc fixes from Andrew Morton: "17 fixes" * emailed patches from Andrew Morton <[email protected]>: MIPS: fix DMA contiguous allocation sh64: fix __NR_fgetxattr ocfs2: fix SGID not inherited issue mm/oom_kill.c: avoid attempting to kill init sharing same memory drivers/base/memory.c: prohibit offlining of memory blocks with missing sections tmpfs: fix shmem_evict_inode() warnings on i_blocks mm/hugetlb.c: fix resv map memory leak for placeholder entries mm: hugetlb: call huge_pte_alloc() only if ptep is null kernel: remove stop_machine() Kconfig dependency mm: kmemleak: mark kmemleak_init prototype as __init mm: fix kerneldoc on mem_cgroup_replace_page osd fs: __r4w_get_page rely on PageUptodate for uptodate MAINTAINERS: make Vladimir co-maintainer of the memory controller mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any progress mm: fix swapped Movable and Reclaimable in /proc/pagetypeinfo memcg: fix memory.high target mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
This commit is contained in:
commit
800f1ac479
18 changed files with 77 additions and 62 deletions
|
|
@ -592,10 +592,7 @@ static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate)
|
|||
}
|
||||
unlock_page(page);
|
||||
}
|
||||
if (PageDirty(page) || PageWriteback(page))
|
||||
*uptodate = true;
|
||||
else
|
||||
*uptodate = PageUptodate(page);
|
||||
*uptodate = PageUptodate(page);
|
||||
EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate);
|
||||
return page;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -476,10 +476,7 @@ static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate)
|
|||
}
|
||||
unlock_page(page);
|
||||
}
|
||||
if (PageDirty(page) || PageWriteback(page))
|
||||
*uptodate = true;
|
||||
else
|
||||
*uptodate = PageUptodate(page);
|
||||
*uptodate = PageUptodate(page);
|
||||
dprintk("%s: index=0x%lx uptodate=%d\n", __func__, index, *uptodate);
|
||||
return page;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -367,13 +367,11 @@ static int ocfs2_mknod(struct inode *dir,
|
|||
goto leave;
|
||||
}
|
||||
|
||||
status = posix_acl_create(dir, &mode, &default_acl, &acl);
|
||||
status = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
|
||||
if (status) {
|
||||
mlog_errno(status);
|
||||
goto leave;
|
||||
}
|
||||
/* update inode->i_mode after mask with "umask". */
|
||||
inode->i_mode = mode;
|
||||
|
||||
handle = ocfs2_start_trans(osb, ocfs2_mknod_credits(osb->sb,
|
||||
S_ISDIR(mode),
|
||||
|
|
|
|||
Loading…
Reference in a new issue