Skip to contentSkip to conversation

UBIFS: remove strange commentary

PATCH In review Artem Bityutskiy 2 participants 3 messages Apr 24, 2011 – Apr 25, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/5 UBIFS: remove strange commentary

From: Artem Bityutskiy <[email protected]>

Remove the following commentary from 'ubifs_file_mmap()':

/* 'generic_file_mmap()' takes care of NOMMU case */

I do not understand what it means, and I could not find anything relater to NOMMU in 'generic_file_mmap()'.

---
 fs/ubifs/file.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/ubifs/file.c +0 -1
index adce3b7..5e7fccf 100644
@@ -1541,7 +1541,6 @@ static int ubifs_file_mmap(struct file *file, struct vm_area_struct *vma)
 {
 	int err;
 
-	/* 'generic_file_mmap()' takes care of NOMMU case */
 	err = generic_file_mmap(file, vma);
 	if (err)
 		return err;
Signature · 1 line
1.7.2.3
#1 lore raw

Folks:

Quoted 3 lines

/* 'generic_file_mmap()' takes care of NOMMU case */

I do not understand what it means,

It sounds like there must be / must have been code to handle memory mapping in systems that do not have a Memory Management Unit (an MMU providing virtual-to-physical address translation).

Atlant

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Artem Bityutskiy
Sent: Sunday, April 24, 2011 09:26
To: MTD list
Subject: [PATCH 4/5] UBIFS: remove strange commentary

From: Artem Bityutskiy <[email protected]>

Remove the following commentary from 'ubifs_file_mmap()':

/* 'generic_file_mmap()' takes care of NOMMU case */

I do not understand what it means, and I could not find anything relater to NOMMU in 'generic_file_mmap()'.

---
 fs/ubifs/file.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/ubifs/file.c +0 -1
index adce3b7..5e7fccf 100644
@@ -1541,7 +1541,6 @@ static int ubifs_file_mmap(struct file *file, struct vm_area_struct *vma)
 {
        int err;
 
-       /* 'generic_file_mmap()' takes care of NOMMU case */
        err = generic_file_mmap(file, vma);
        if (err)
                return err;

--
1.7.2.3

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

#2 lore raw
Quoted 10 lines · Atlant Schmidt

Folks:

Quoted 3 lines

/* 'generic_file_mmap()' takes care of NOMMU case */

I do not understand what it means,

It sounds like there must be / must have been code to handle memory mapping in systems that do not have a Memory Management Unit (an MMU providing virtual-to-physical address translation).

Yes, must be "must have been" :-)

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)