Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217779
b: refs/heads/master
c: ba10f48
h: refs/heads/master
i:
  217777: 8442823
  217775: 56c74ae
v: v3
  • Loading branch information
Richard Weinberger authored and Al Viro committed Oct 26, 2010
1 parent dfe2ff3 commit 24025d2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 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: d9d1dc802ffae507956ceb350eb3f4a995734f1e
refs/heads/master: ba10f486658c0ca1bc84c936f6a996e40d071453
3 changes: 1 addition & 2 deletions trunk/fs/hostfs/hostfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ extern int rename_file(char *from, char *to);
extern int do_statfs(char *root, long *bsize_out, long long *blocks_out,
long long *bfree_out, long long *bavail_out,
long long *files_out, long long *ffree_out,
void *fsid_out, int fsid_size, long *namelen_out,
long *spare_out);
void *fsid_out, int fsid_size, long *namelen_out);

#endif
2 changes: 1 addition & 1 deletion trunk/fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf)
err = do_statfs(dentry->d_sb->s_fs_info,
&sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files,
&f_ffree, &sf->f_fsid, sizeof(sf->f_fsid),
&sf->f_namelen, sf->f_spare);
&sf->f_namelen);
if (err)
return err;
sf->f_blocks = f_blocks;
Expand Down
9 changes: 2 additions & 7 deletions trunk/fs/hostfs/hostfs_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ int rename_file(char *from, char *to)
int do_statfs(char *root, long *bsize_out, long long *blocks_out,
long long *bfree_out, long long *bavail_out,
long long *files_out, long long *ffree_out,
void *fsid_out, int fsid_size, long *namelen_out,
long *spare_out)
void *fsid_out, int fsid_size, long *namelen_out)
{
struct statfs64 buf;
int err;
Expand All @@ -384,10 +383,6 @@ int do_statfs(char *root, long *bsize_out, long long *blocks_out,
sizeof(buf.f_fsid) > fsid_size ? fsid_size :
sizeof(buf.f_fsid));
*namelen_out = buf.f_namelen;
spare_out[0] = buf.f_spare[0];
spare_out[1] = buf.f_spare[1];
spare_out[2] = buf.f_spare[2];
spare_out[3] = buf.f_spare[3];
spare_out[4] = buf.f_spare[4];

return 0;
}

0 comments on commit 24025d2

Please sign in to comment.