linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Allison Henderson <achender@linux.vnet.ibm.com>
To: linux-ext4@vger.kernel.org, xiaoqiangnk@gmail.com
Cc: Allison Henderson <achender@linux.vnet.ibm.com>
Subject: [PATCH 5/6] Rename de patch5 from de to se scheme
Date: Fri,  9 Mar 2012 21:41:24 -0700	[thread overview]
Message-ID: <1331354485-18515-6-git-send-email-achender@linux.vnet.ibm.com> (raw)
In-Reply-To: <1331354485-18515-1-git-send-email-achender@linux.vnet.ibm.com>

This patch renames changes introduced by patch
"[PATCH_V3_5_6\]_ext4_reimplement_fiemap_on_delayed_extent_tree"

All code referencing "delayed extents" or "de" are changed to
"status extents" or "se"

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
---
:100644 100644 a8b382e... 3f76625... M	fs/ext4/extents.c
 fs/ext4/extents.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index a8b382e..3f76625 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -4363,7 +4363,7 @@ static int ext4_ext_fiemap_cb(struct inode *inode, ext4_lblk_t next,
 		       struct ext4_ext_cache *newex, struct ext4_extent *ex,
 		       void *data)
 {
-	struct delayed_extent de;
+	struct status_extent se;
 	__u64	logical;
 	__u64	physical;
 	__u64	length;
@@ -4373,9 +4373,9 @@ static int ext4_ext_fiemap_cb(struct inode *inode, ext4_lblk_t next,
 	struct fiemap_extent_info *fieinfo = data;
 	unsigned char blksize_bits;
 
-	de.start = newex->ec_block;
+	se.start = newex->ec_block;
 	down_read(&EXT4_I(inode)->i_data_sem);
-	next_del = ext4_de_find_extent(inode, &de);
+	next_del = ext4_se_find_extent(inode, &se);
 	up_read(&EXT4_I(inode)->i_data_sem);
 
 	next = min(next_del, next);
@@ -4384,19 +4384,19 @@ static int ext4_ext_fiemap_cb(struct inode *inode, ext4_lblk_t next,
 		 * No extent in extent-tree contains block @newex->ec_start,
 		 * then the block may stay in 1)a hole or 2)delayed-extent.
 		 */
-		if (de.len == 0)
+		if (se.len == 0)
 			/* A hole found. */
 			return EXT_CONTINUE;
 
-		if (de.start > newex->ec_block) {
+		if (se.start > newex->ec_block) {
 			/* A hole found. */
-			newex->ec_len = min(de.start - newex->ec_block,
+			newex->ec_len = min(se.start - newex->ec_block,
 					    newex->ec_len);
 			return EXT_CONTINUE;
 		}
 
 		flags |= FIEMAP_EXTENT_DELALLOC;
-		newex->ec_len = de.start + de.len - newex->ec_block;
+		newex->ec_len = se.start + se.len - newex->ec_block;
 	}
 
 	if (ex && ext4_ext_is_uninitialized(ex))
-- 
1.7.1


  parent reply	other threads:[~2012-03-10  4:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-10  4:41 [PATCH 0/6] Rename delayed extents to status extents Allison Henderson
2012-03-10  4:41 ` [PATCH 1/6] Rename de patch1 from de to se scheme Allison Henderson
2012-03-10  4:41 ` [PATCH 2/6] Rename de patch2 " Allison Henderson
2012-03-10  4:41 ` [PATCH 3/6] Rename de patch3 " Allison Henderson
2012-03-10  4:41 ` [PATCH 4/6] Rename de patch4 " Allison Henderson
2012-03-10  4:41 ` Allison Henderson [this message]
2012-03-10  4:41 ` [PATCH 6/6] Rename de patch6 " Allison Henderson

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=1331354485-18515-6-git-send-email-achender@linux.vnet.ibm.com \
    --to=achender@linux.vnet.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=xiaoqiangnk@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).