Re: [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- From: Richard Purdie <rpurdie@xxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 20:56:56 +0000
On Wed, 2007-02-28 at 21:39 +0200, Artem Bityutskiy wrote:
On Wed, 2007-02-28 at 19:13 +0000, Richard Purdie wrote:
+/* gives us jffs2_subsys */
+static decl_subsys(jffs2, NULL, NULL);
There is actually a file-system subsys - look up for fs_subsys. It is
declared at fs/namespace.c.
Further down the patch you'll see:
+ kset_set_kset_s(&jffs2_subsys, fs_subsys);
There was a reason for doing that instead using fs_subsys in the above
although I can't remember why offhand. I did try it and it didn't work
as expected...
Regards,
Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- From: Richard Purdie
- Re: [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- From: Artem Bityutskiy
- [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- Prev by Date: Resume from S2R fails after dpm_resume()
- Next by Date: Re: lanana: Add major/minor entries for PPC QE UART devices
- Previous by thread: Re: [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- Next by thread: [PATCH 1/1] - platform_kernel_launch_event is noop on generic kernel
- Index(es):
Relevant Pages
- Re: acpi ->video_device_list corruption
... This resulted in silent corruption without ... The patch was seen to
resolve the issue on the affected system. ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [BUG] e100: eth0 appers many times in /proc/interrupts after resume
... Could you try the following patch? ... I just fixed suspend/shutdown
for e100 in 2.6.19, not sure why the problem still shows up. ... More majordomo info at
http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/
... (Linux-Kernel) - Re: [PATCH] smbfs chroot issue (CVE-2006-1864)
... This patch also applies to 2.4, did you receive it on your side or do you ...
want me to queue it in -upstream? ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [PATCH 30/61] knfsd: Fix race that can disable NFS server.
... response. ... this patch is definitely appropriate for 2.4. ...
More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ
at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [patch 17/59] PCI: prevent down_read when pci_devices is empty
... I'd prefer to see that version of this patch go in. ... This is a bogus call
since pci is not initialized yet, so the list is empty. ... More majordomo info
at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/
... (Linux-Kernel)