[PATCH] XATTR support on JFFS2 (version. 5)

KaiGai Kohei kaigai at ak.jp.nec.com
Sat May 6 02:51:22 EDT 2006


Hello,

This attached patches provide xattr support including POSIX-ACL and
SELinux support on JFFS2 (version.5).
We can apply those patches to the latest git-tree.
- xattr_on_jffs2.kernel.version-5.patch can be applied to mtd-2.6.git.
- xattr_on_jffs2.utils.version-5.patch can be applied to mtd-utils.git.

There are some significant differences from previous version posted
at last December.
The biggest change is addition of EBS(Erase Block Summary) support.
Currently, both kernel and usermode utility (sumtool) can recognize
xattr nodes which have JFFS2_NODETYPE_XATTR/_XREF nodetype.

In addition, some bugs are fixed.
- A potential race condition was fixed.
- Unexpected fail when updating a xattr by same name/value pair was fixed.
- A bug when removing xattr name/value pair was fixed.

The fundamental structures (such as using two new nodetypes and exclusion
mechanism by rwsem) are unchanged. But most of implementation were reviewed
and updated if necessary.
Espacially, we had to change several internal implementations related to
load_xattr_datum() to avoid a potential race condition.

[1/2] xattr_on_jffs2.kernel.version-5.patch
[2/2] xattr_on_jffs2.utils.version-5.patch

Signed-off-by: KaiGai Kohei <kaigai at ak.jp.nec.com>

We can get those patches from http://www.kaigai.gr.jp/
Any comments please. Thanks,
-- 
KaiGai Kohei <kaigai at ak.jp.nec.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xattr_on_jffs2.kernel.version-5.patch
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20060506/8f7c3cd8/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xattr_on_jffs2.utils.version-5.patch
Url: http://lists.infradead.org/pipermail/linux-mtd/attachments/20060506/8f7c3cd8/attachment-0001.pl 


More information about the linux-mtd mailing list