From: Zhang Zhen <zhenzhang.zhang@huawei.com>
To: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Cc: <wangnan0@huawei.com>, "Zwisler, Ross" <ross.zwisler@intel.com>,
"tytso@mit.edu" <tytso@mit.edu>
Subject: [PATCH v2] ext4: remove readpage() check up for mmap file
Date: Thu, 3 Jul 2014 14:18:31 +0800 [thread overview]
Message-ID: <53B4F5B7.7060209@huawei.com> (raw)
In-Reply-To: <1404368274-10404-1-git-send-email-zhenzhang.zhang@huawei.com>
There is no kind of file does not supply page reading function.
Change v1 -> v2:
- deleted the mapping variable
Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
---
fs/ext4/file.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index 8695f70..aca7b24 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -200,10 +200,6 @@ static const struct vm_operations_struct ext4_file_vm_ops = {
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
{
- struct address_space *mapping = file->f_mapping;
next parent reply other threads:[~2014-07-03 6:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1404368274-10404-1-git-send-email-zhenzhang.zhang@huawei.com>
2014-07-03 6:18 ` Zhang Zhen [this message]
2014-07-15 13:43 ` [PATCH v2] ext4: remove readpage() check up for mmap file Theodore Ts'o
2014-07-15 14:16 ` Wilcox, Matthew R
2014-07-15 16:16 ` Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53B4F5B7.7060209@huawei.com \
--to=zhenzhang.zhang@huawei.com \
--cc=linux-ext4@vger.kernel.org \
--cc=ross.zwisler@intel.com \
--cc=tytso@mit.edu \
--cc=wangnan0@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.