/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * acl.h * * Copyright (C) 2004, 2008 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef OCFS2_ACL_H #define OCFS2_ACL_H #include <linux/posix_acl_xattr.h> struct ocfs2_acl_entry { __le16 e_tag; __le16 e_perm; __le32 e_id; }; struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type); int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type); int ocfs2_set_acl(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int type, struct posix_acl *acl, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac); extern int ocfs2_acl_chmod(struct inode *, struct buffer_head *); extern int ocfs2_init_acl(handle_t *, struct inode *, struct inode *, struct buffer_head *, struct buffer_head *, struct ocfs2_alloc_context *, struct ocfs2_alloc_context *); #endif /* OCFS2_ACL_H */ r> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/nehalemex'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/perf/pmu-events/arch/x86/nehalemex?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/pmu-events/arch/x86/nehalemex?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/perf/pmu-events/arch/x86/nehalemex?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/nehalemex'> <input type='hidden' name='id' value='f12e7d95d12fa4dbe655bd038a6d38526a879deb'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>perf</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>pmu-events</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>arch</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>x86</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/nehalemex?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb'>nehalemex</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/pmu-events/arch/x86/nehalemex?id=f12e7d95d12fa4dbe655bd038a6d38526a879deb&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>