Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61620
b: refs/heads/master
c: fac1f0e
h: refs/heads/master
v: v3
  • Loading branch information
Jan Harkes authored and Linus Torvalds committed Jul 19, 2007
1 parent 1139d10 commit 5185037
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 8c6d21528406ec719aaea9d589876fd105c31646
refs/heads/master: fac1f0e34026a656174102ebad4d1cd71cd4fe2c
16 changes: 8 additions & 8 deletions trunk/fs/coda/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void coda_destroy_inodecache(void)

static int coda_remount(struct super_block *sb, int *flags, char *data)
{
*flags |= MS_NODIRATIME;
*flags |= MS_NOATIME;
return 0;
}

Expand Down Expand Up @@ -176,12 +176,12 @@ static int coda_fill_super(struct super_block *sb, void *data, int silent)

sbi->sbi_vcomm = vc;

sb->s_fs_info = sbi;
sb->s_flags |= MS_NODIRATIME; /* probably even noatime */
sb->s_blocksize = 1024; /* XXXXX what do we put here?? */
sb->s_blocksize_bits = 10;
sb->s_magic = CODA_SUPER_MAGIC;
sb->s_op = &coda_super_operations;
sb->s_fs_info = sbi;
sb->s_flags |= MS_NOATIME;
sb->s_blocksize = 4096; /* XXXXX what do we put here?? */
sb->s_blocksize_bits = 12;
sb->s_magic = CODA_SUPER_MAGIC;
sb->s_op = &coda_super_operations;

/* get root fid from Venus: this needs the root inode */
error = venus_rootfid(sb, &fid);
Expand Down Expand Up @@ -296,7 +296,7 @@ static int coda_statfs(struct dentry *dentry, struct kstatfs *buf)

/* and fill in the rest */
buf->f_type = CODA_SUPER_MAGIC;
buf->f_bsize = 1024;
buf->f_bsize = 4096;
buf->f_namelen = CODA_MAXNAMLEN;

return 0;
Expand Down

0 comments on commit 5185037

Please sign in to comment.