Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39433 Details for
Bug 41949
reiserfsck reporting "count_blocks: block device too large" using reiserfsprogs 3.6.12-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
reiserfsprogs_getblksize64.patch
reiserfsprogs_getblksize64.patch (text/plain), 741 bytes, created by
SpanKY
on 2004-09-12 04:29:32 UTC
(
hide
)
Description:
reiserfsprogs_getblksize64.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2004-09-12 04:29:32 UTC
Size:
741 bytes
patch
obsolete
>diff -Nru a/reiserfsprogs/lib/misc.c b/reiserfsprogs/lib/misc.c >--- a/reiserfsprogs/lib/misc.c Mon Aug 23 12:49:41 2004 >+++ b/reiserfsprogs/lib/misc.c Mon Aug 23 12:49:41 2004 >@@ -462,7 +462,13 @@ > } > > #if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64) >-# define BLKGETSIZE64 _IOR(0x12, 114, __u64) >+/* Note! Despite this call being called with *64, it must be encoded to >+ * return only sizeof(size_t), since in earlier kernel versions it was >+ * declared _IOR(0x12, 114, sizeof(u64)), making it use sizeof(sizeof(u64)). >+ * >+ * However, the call itself does always return 64bit! >+ */ >+# define BLKGETSIZE64 _IOR(0x12, 114, size_t) > #endif > > /* To not have problem with last sectors on the block device when switching
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 41949
: 39433