aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2012-07-14 03:37:17 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2012-07-21 01:21:46 -0300
commitf65e6cbd5514d64e50a3d5cee7baab1172a7a239 (patch)
tree75c098a61d715f4a8d4835305fc0425a493a736b
parent02b8dd39a9bb92e723e67457552b57505c6ae37a (diff)
downloadsyslinux-f65e6cbd5514d64e50a3d5cee7baab1172a7a239.tar.gz
syslinux-f65e6cbd5514d64e50a3d5cee7baab1172a7a239.tar.xz
syslinux-f65e6cbd5514d64e50a3d5cee7baab1172a7a239.zip
xfs: Remove duplicate variable attribution
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r--core/fs/xfs/xfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c
index 7a042c78..3b55b1d3 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)