mm-do_mmap_pgoff-cleanup-the-usage-of-file_inode.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-do_mmap_pgoff-cleanup-the-usage-of-file_inode.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:42:21 -0700
The patch titled
Subject: mm: do_mmap_pgoff: cleanup the usage of file_inode()
has been removed from the -mm tree. Its filename was
mm-do_mmap_pgoff-cleanup-the-usage-of-file_inode.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: mm: do_mmap_pgoff: cleanup the usage of file_inode()
Simple cleanup. Move "struct inode *inode" variable into "if (file)" block to simplify the code and avoid the unnecessary check.
---
mm/mmap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
mm/mmap.c renamed from mm/mmap.c~mm-do_mmap_pgoff-cleanup-the-usage-of-file_inode +0 -2
@@ -1202,7 +1202,6 @@ unsigned long do_mmap_pgoff(struct file unsigned long *populate) {struct mm_struct * mm = current->mm; -struct inode *inode;vm_flags_t vm_flags; *populate =0 ;
@@ -1265,9 +1264,9 @@ unsigned long do_mmap_pgoff(struct filereturn -EAGAIN ; } - inode = file ?file_inode (file) :NULL ;