[syslinux:elflink] xfs: Remove some trailing whitespaces
syslinux-bot for Paulo Alcantara
pcacjr at zytor.com
Tue Nov 27 12:57:24 PST 2012
Commit-ID: 88a9045a71af16a50d5fb220604c18a44fda5d92
Gitweb: http://www.syslinux.org/commit/88a9045a71af16a50d5fb220604c18a44fda5d92
Author: Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Sun, 2 Sep 2012 19:14:59 -0300
Committer: Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Sun, 2 Sep 2012 19:14:59 -0300
xfs: Remove some trailing whitespaces
This patch removes some trailing whitespaces from previous commit.
Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
---
core/fs/xfs/xfs_dir2.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/core/fs/xfs/xfs_dir2.c b/core/fs/xfs/xfs_dir2.c
index e6ae92f..db1a1b1 100644
--- a/core/fs/xfs/xfs_dir2.c
+++ b/core/fs/xfs/xfs_dir2.c
@@ -514,10 +514,11 @@ struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
max = be16_to_cpu(node->hdr.count);
probe = span = max/2;
- for (btree = &node->btree[probe];
+ for (btree = &node->btree[probe];
span > 4; btree = &node->btree[probe]) {
span /= 2;
hash = be32_to_cpu(btree->hashval);
+
if (hash < hashwant)
probe += span;
else if (hash > hashwant)
@@ -530,6 +531,7 @@ struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
btree--;
probe--;
}
+
while ((probe < max) && (be32_to_cpu(btree->hashval) < hashwant)) {
btree++;
probe++;
@@ -547,8 +549,9 @@ struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
xfs_error("Cannot find right rec!");
goto out;
}
+
free(node);
- node = (xfs_da_intnode_t *)xfs_dir2_get_dirblks(parent->fs,
+ node = (xfs_da_intnode_t *)xfs_dir2_get_dirblks(parent->fs,
fsblkno, 1);
} while(be16_to_cpu(node->hdr.info.magic) == XFS_DA_NODE_MAGIC);
More information about the Syslinux-commits
mailing list