Merge ad57a1022f
("Merge tag 'exfat-for-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat") into android-mainline
Steps on the way to 5.8-rc1. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I4bc42f572167ea2f815688b4d1eb6124b6d260d4
This commit is contained in:
@@ -82,7 +82,6 @@ static struct vfsmount *shm_mnt;
|
||||
#include <linux/uuid.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/pgtable.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
||||
@@ -2320,7 +2319,7 @@ static int shmem_mfill_atomic_pte(struct mm_struct *dst_mm,
|
||||
PAGE_SIZE);
|
||||
kunmap_atomic(page_kaddr);
|
||||
|
||||
/* fallback to copy_from_user outside mmap_sem */
|
||||
/* fallback to copy_from_user outside mmap_lock */
|
||||
if (unlikely(ret)) {
|
||||
*pagep = page;
|
||||
shmem_inode_unacct_blocks(inode, 1);
|
||||
@@ -4138,7 +4137,7 @@ int shmem_zero_setup(struct vm_area_struct *vma)
|
||||
loff_t size = vma->vm_end - vma->vm_start;
|
||||
|
||||
/*
|
||||
* Cloning a new file under mmap_sem leads to a lock ordering conflict
|
||||
* Cloning a new file under mmap_lock leads to a lock ordering conflict
|
||||
* between XFS directory reading and selinux: since this file is only
|
||||
* accessible to the user through its mapping, use S_PRIVATE flag to
|
||||
* bypass file security, in the same way as shmem_kernel_file_setup().
|
||||
|
Reference in New Issue
Block a user