projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
quota: fix possible infinite loop in quota code
[deliverable/linux.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index a99ad09c3197a1f60e4332f86520183cffa50bbd..bb98d2fe809f09fa382a9d6224231206e1161962 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-64,7
+64,8
@@
static int vfs_statfs_native(struct dentry *dentry, struct statfs *buf)
memcpy(buf, &st, sizeof(st));
else {
if (sizeof buf->f_blocks == 4) {
- if ((st.f_blocks | st.f_bfree | st.f_bavail) &
+ if ((st.f_blocks | st.f_bfree | st.f_bavail |
+ st.f_bsize | st.f_frsize) &
0xffffffff00000000ULL)
return -EOVERFLOW;
/*
This page took
0.166331 seconds
and
5
git commands to generate.