Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37378 Details for
Bug 60270
shfs-0.35-r1.ebuild ( Update )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
df.patch
df.patch (text/plain), 1.61 KB, created by
S.Caglar Onur
on 2004-08-13 13:48:34 UTC
(
hide
)
Description:
df.patch
Filename:
MIME Type:
Creator:
S.Caglar Onur
Created:
2004-08-13 13:48:34 UTC
Size:
1.61 KB
patch
obsolete
>--- TODO 1 Jun 2004 13:03:21 -0000 1.10 >+++ TODO 18 Jun 2004 12:19:52 -0000 >@@ -1,5 +1,8 @@ > TODO for shfs: > >+* revise 2.6 kernel module install (according to lk post) >+* more comprehensive error messages >+* local uid preserve.. > * rewrite stack allocations -> kmalloc > * sftp server code support > * autoconf >--- shfs/Linux-2.4/shell.c 3 Jun 2004 13:20:44 -0000 1.8 >+++ shfs/Linux-2.4/shell.c 18 Jun 2004 12:19:52 -0000 >@@ -961,11 +961,11 @@ > > s = info->sockbuf; > if ((p = strsep(&s, " "))) >- attr->f_blocks = simple_strtoull(p, NULL, 10); >+ attr->f_blocks = simple_strtoull(p, NULL, 10) >> 2; > if ((p = strsep(&s, " "))) >- attr->f_bfree = attr->f_blocks - simple_strtoull(p, NULL, 10); >+ attr->f_bfree = attr->f_blocks - (simple_strtoull(p, NULL, 10) >> 2); > if ((p = strsep(&s, " "))) >- attr->f_bavail = simple_strtoull(p, NULL, 10); >+ attr->f_bavail = simple_strtoull(p, NULL, 10) >> 2; > > result = sock_readln(info, info->sockbuf, SOCKBUF_SIZE); > if (result < 0) >--- shfs/Linux-2.6/shell.c 3 Jun 2004 13:20:47 -0000 1.9 >+++ shfs/Linux-2.6/shell.c 18 Jun 2004 12:19:53 -0000 >@@ -974,11 +974,11 @@ > > s = info->sockbuf; > if ((p = strsep(&s, " "))) >- attr->f_blocks = simple_strtoull(p, NULL, 10); >+ attr->f_blocks = simple_strtoull(p, NULL, 10) >> 2; > if ((p = strsep(&s, " "))) >- attr->f_bfree = attr->f_blocks - simple_strtoull(p, NULL, 10); >+ attr->f_bfree = attr->f_blocks - (simple_strtoull(p, NULL, 10) >> 2); > if ((p = strsep(&s, " "))) >- attr->f_bavail = simple_strtoull(p, NULL, 10); >+ attr->f_bavail = simple_strtoull(p, NULL, 10) >> 2; > > result = sock_readln(info, info->sockbuf, SOCKBUF_SIZE); > if (result < 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60270
:
37377
| 37378 |
37379
|
37380
|
37381
|
37382