diff options
Diffstat (limited to 'fs/ufs/inode.c')
-rw-r--r-- | fs/ufs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 01f754462341..c57612d443d0 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c | |||
@@ -628,12 +628,12 @@ void ufs_read_inode (struct inode * inode) | |||
628 | ufsi->i_shadow = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_shadow); | 628 | ufsi->i_shadow = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_shadow); |
629 | ufsi->i_oeftflag = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_oeftflag); | 629 | ufsi->i_oeftflag = fs32_to_cpu(sb, ufs_inode->ui_u3.ui_sun.ui_oeftflag); |
630 | ufsi->i_lastfrag = (inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift; | 630 | ufsi->i_lastfrag = (inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift; |
631 | ufsi->i_dir_start_lookup = 0; | ||
631 | 632 | ||
632 | if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { | 633 | if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { |
633 | for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) | 634 | for (i = 0; i < (UFS_NDADDR + UFS_NINDIR); i++) |
634 | ufsi->i_u1.i_data[i] = ufs_inode->ui_u2.ui_addr.ui_db[i]; | 635 | ufsi->i_u1.i_data[i] = ufs_inode->ui_u2.ui_addr.ui_db[i]; |
635 | } | 636 | } else { |
636 | else { | ||
637 | for (i = 0; i < (UFS_NDADDR + UFS_NINDIR) * 4; i++) | 637 | for (i = 0; i < (UFS_NDADDR + UFS_NINDIR) * 4; i++) |
638 | ufsi->i_u1.i_symlink[i] = ufs_inode->ui_u2.ui_symlink[i]; | 638 | ufsi->i_u1.i_symlink[i] = ufs_inode->ui_u2.ui_symlink[i]; |
639 | } | 639 | } |