Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257388
b: refs/heads/master
c: 2def9e4
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jul 21, 2011
1 parent e886558 commit d2e6cea
Show file tree
Hide file tree
Showing 2 changed files with 2 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: ee60498f3ef94d7ed58dcd38077e27e839e7cafc
refs/heads/master: 2def9e4ec75e6771def66a07960dd516e119ab4c
3 changes: 1 addition & 2 deletions trunk/fs/minix/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,7 @@ static int minix_write_inode(struct inode *inode, struct writeback_control *wbc)

int minix_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
{
struct inode *dir = dentry->d_parent->d_inode;
struct super_block *sb = dir->i_sb;
struct super_block *sb = dentry->d_sb;
generic_fillattr(dentry->d_inode, stat);
if (INODE_VERSION(dentry->d_inode) == MINIX_V1)
stat->blocks = (BLOCK_SIZE / 512) * V1_minix_blocks(stat->size, sb);
Expand Down

0 comments on commit d2e6cea

Please sign in to comment.