[syslinux:elflink] xfs: Remove duplicate variable attribution
syslinux-bot for Paulo Alcantara
pcacjr at zytor.com
Tue Nov 27 12:57:08 PST 2012
Commit-ID: f65e6cbd5514d64e50a3d5cee7baab1172a7a239
Gitweb: http://www.syslinux.org/commit/f65e6cbd5514d64e50a3d5cee7baab1172a7a239
Author: Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Sat, 14 Jul 2012 03:37:17 -0300
Committer: Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Sat, 21 Jul 2012 01:21:46 -0300
xfs: Remove duplicate variable attribution
Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
---
core/fs/xfs/xfs.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c
index 7a042c7..3b55b1d 100644
--- a/core/fs/xfs/xfs.c
+++ b/core/fs/xfs/xfs.c
@@ -295,11 +295,8 @@ no_agi_needed:
ncore = xfs_get_ino_core(fs, ino);
core_found:
- inode->ino = ino;
-
- XFS_PVT(inode)->i_ino_blk = ino_to_bytes(fs, ino) >> BLOCK_SHIFT(fs);
inode->ino = ino;
- inode->mode = DT_DIR;
+ XFS_PVT(inode)->i_ino_blk = ino_to_bytes(fs, ino) >> BLOCK_SHIFT(fs);
inode->size = be64_to_cpu(ncore->di_size);
if (be16_to_cpu(ncore->di_mode) & S_IFDIR)
More information about the Syslinux-commits
mailing list