Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 295553 Details for
Bug 373489
sys-fs/cdfs-2.6.27 does not compile again gentoo-sources-2.6.39
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cdfs patch for kernel>=2.6.39
cdfs-2.6.27-kernel-2.6.39.patch (text/plain), 1.05 KB, created by
Karata
on 2011-12-12 12:19:15 UTC
(
hide
)
Description:
cdfs patch for kernel>=2.6.39
Filename:
MIME Type:
Creator:
Karata
Created:
2011-12-12 12:19:15 UTC
Size:
1.05 KB
patch
obsolete
>--- root.c.old 2011-12-12 20:07:18.000000000 +0800 >+++ root.c 2011-12-12 20:10:38.000000000 +0800 >@@ -597,7 +597,10 @@ > #ifdef OLD_KERNEL > static DECLARE_FSTYPE_DEV(cdfs_fs_type, FSNAME, cdfs_mount); > #else >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39) >+static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { >+ return mount_bdev(fs_type, flags, dev_name, data, cdfs_fill_super); >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) > static int cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { > return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super, mnt); > #else >@@ -609,7 +612,11 @@ > static struct file_system_type cdfs_fs_type = { > .owner = THIS_MODULE, > .name = "cdfs", >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39) >+ .mount = cdfs_get_sb, >+#else > .get_sb = cdfs_get_sb, >+#endif > .kill_sb = kill_block_super, > .fs_flags = FS_REQUIRES_DEV > };
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 373489
:
295541
| 295553