helpers for acl caching + switch to those

helpers: get_cached_acl(inode, type), set_cached_acl(inode, type, acl),
forget_cached_acl(inode, type).

ubifs/xattr.c needed includes reordered, the rest is a plain switchover.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2009-06-09 12:11:54 -04:00
父節點 06b16e9f68
當前提交 073aaa1b14
共有 10 個文件被更改,包括 153 次插入331 次删除

查看文件

@@ -55,9 +55,9 @@
* ACL support is not implemented.
*/
#include "ubifs.h"
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
#include "ubifs.h"
/*
* Limit the number of extended attributes per inode so that the total size