Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42827
b: refs/heads/master
c: 0723305
h: refs/heads/master
i:
  42825: c3ce304
  42823: 83bf530
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Dec 7, 2006
1 parent 7da6b43 commit 3dedb9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 22f2e280179946b8be1e2205b8654f2cb4abbf64
refs/heads/master: 072330584404392dae44cd0793ac9b316cff045b
7 changes: 0 additions & 7 deletions trunk/fs/stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ int vfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
return inode->i_op->getattr(mnt, dentry, stat);

generic_fillattr(inode, stat);
if (!stat->blksize) {
struct super_block *s = inode->i_sb;
unsigned blocks;
blocks = (stat->size+s->s_blocksize-1) >> s->s_blocksize_bits;
stat->blocks = (s->s_blocksize / 512) * blocks;
stat->blksize = s->s_blocksize;
}
return 0;
}

Expand Down

0 comments on commit 3dedb9f

Please sign in to comment.