Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196028
b: refs/heads/master
c: cdce214
h: refs/heads/master
v: v3
  • Loading branch information
Ryusuke Konishi committed May 10, 2010
1 parent 285b729 commit 92b2bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b87ca91948843472c05ae49e4c5e1714001d24c9
refs/heads/master: cdce214e39814fd46d47e0e660ca3ddf3fdce8a6
4 changes: 2 additions & 2 deletions trunk/fs/nilfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static int __nilfs_read_inode(struct super_block *sb, unsigned long ino,
inode->i_op = &nilfs_special_inode_operations;
init_special_inode(
inode, inode->i_mode,
new_decode_dev(le64_to_cpu(raw_inode->i_device_code)));
huge_decode_dev(le64_to_cpu(raw_inode->i_device_code)));
}
nilfs_ifile_unmap_inode(sbi->s_ifile, ino, bh);
brelse(bh);
Expand Down Expand Up @@ -511,7 +511,7 @@ void nilfs_write_inode_common(struct inode *inode,
nilfs_bmap_write(ii->i_bmap, raw_inode);
else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode))
raw_inode->i_device_code =
cpu_to_le64(new_encode_dev(inode->i_rdev));
cpu_to_le64(huge_encode_dev(inode->i_rdev));
/* When extending inode, nilfs->ns_inode_size should be checked
for substitutions of appended fields */
}
Expand Down

0 comments on commit 92b2bbf

Please sign in to comment.