Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270017
b: refs/heads/master
c: 1448c72
h: refs/heads/master
i:
  270015: da1c51b
v: v3
  • Loading branch information
Eric W. Biederman authored and root committed Oct 28, 2011
1 parent e583b59 commit 1c33c00
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 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: a877ee03ac010ded434b77f7831f43cbb1fcc60f
refs/heads/master: 1448c721e4fa2faf742029a0403b4b787fccb7fa
3 changes: 2 additions & 1 deletion trunk/arch/mips/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ struct compat_statfs {
int f_bavail;
compat_fsid_t f_fsid;
int f_namelen;
int f_spare[6];
int f_flags;
int f_spare[5];
};

#define COMPAT_RLIM_INFINITY 0x7fffffffUL
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/parisc/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ struct compat_statfs {
__kernel_fsid_t f_fsid;
s32 f_namelen;
s32 f_frsize;
s32 f_spare[5];
s32 f_flags;
s32 f_spare[4];
};

struct compat_sigcontext {
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ struct compat_statfs {
compat_fsid_t f_fsid;
int f_namelen; /* SunOS ignores this field. */
int f_frsize;
int f_spare[5];
int f_flags;
int f_spare[4];
};

#define COMPAT_RLIM_OLD_INFINITY 0x7fffffff
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/s390/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ struct compat_statfs {
compat_fsid_t f_fsid;
s32 f_namelen;
s32 f_frsize;
s32 f_spare[6];
s32 f_flags;
s32 f_spare[5];
};

#define COMPAT_RLIM_OLD_INFINITY 0x7fffffff
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/sparc/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ struct compat_statfs {
compat_fsid_t f_fsid;
int f_namelen; /* SunOS ignores this field. */
int f_frsize;
int f_spare[5];
int f_flags;
int f_spare[4];
};

#define COMPAT_RLIM_INFINITY 0x7fffffff
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/include/asm/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ struct compat_statfs {
compat_fsid_t f_fsid;
int f_namelen; /* SunOS ignores this field. */
int f_frsize;
int f_spare[5];
int f_flags;
int f_spare[4];
};

#define COMPAT_RLIM_OLD_INFINITY 0x7fffffff
Expand Down
7 changes: 2 additions & 5 deletions trunk/fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,8 @@ static int put_compat_statfs(struct compat_statfs __user *ubuf, struct kstatfs *
__put_user(kbuf->f_fsid.val[0], &ubuf->f_fsid.val[0]) ||
__put_user(kbuf->f_fsid.val[1], &ubuf->f_fsid.val[1]) ||
__put_user(kbuf->f_frsize, &ubuf->f_frsize) ||
__put_user(0, &ubuf->f_spare[0]) ||
__put_user(0, &ubuf->f_spare[1]) ||
__put_user(0, &ubuf->f_spare[2]) ||
__put_user(0, &ubuf->f_spare[3]) ||
__put_user(0, &ubuf->f_spare[4]))
__put_user(kbuf->f_flags, &ubuf->f_flags) ||
__clear_user(ubuf->f_spare, sizeof(ubuf->f_spare)))
return -EFAULT;
return 0;
}
Expand Down

0 comments on commit 1c33c00

Please sign in to comment.