]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/ocfs2/inode.h
ocfs2: Add extended attribute support
authorTiger Yang <tiger.yang@oracle.com>
Mon, 18 Aug 2008 09:11:00 +0000 (17:11 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 13 Oct 2008 23:57:02 +0000 (16:57 -0700)
commitcf1d6c763fbcb115263114302485ad17e7933d87
tree85717dc9d20b7ac1e31b683653933f2d30099f44
parentfdd77704a8b4666a32120fcd1e4a9fedaf3263d8
ocfs2: Add extended attribute support

This patch implements storing extended attributes both in inode or a single
external block. We only store EA's in-inode when blocksize > 512 or that
inode block has free space for it. When an EA's value is larger than 80
bytes, we will store the value via b-tree outside inode or block.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
16 files changed:
fs/ocfs2/Makefile
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/journal.h
fs/ocfs2/namei.c
fs/ocfs2/ocfs2.h
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h
fs/ocfs2/super.c
fs/ocfs2/symlink.c
fs/ocfs2/xattr.c
fs/ocfs2/xattr.h [new file with mode: 0644]
fs/ocfs2/xattr_trusted.c [new file with mode: 0644]
fs/ocfs2/xattr_user.c [new file with mode: 0644]