diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2012-07-14 03:37:17 -0300 |
---|---|---|
committer | Paulo Alcantara <pcacjr@zytor.com> | 2012-07-21 01:21:46 -0300 |
commit | f65e6cbd5514d64e50a3d5cee7baab1172a7a239 (patch) | |
tree | 75c098a61d715f4a8d4835305fc0425a493a736b | |
parent | 02b8dd39a9bb92e723e67457552b57505c6ae37a (diff) | |
download | syslinux-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.c | 5 |
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) |