commit | 4e34e719e457f2e031297175410fc0bd4016a085 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jul 23 17:37:31 2011 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jul 25 14:30:23 2011 -0400 |
tree | ab969a371e0d2efc6bfbf503ca6cdfce3af3bf6c | |
parent | edde854e8bb34a7f32fa993d721f1da0faf64165 [diff] |
fs: take the ACL checks to common code Replace the ->check_acl method with a ->get_acl method that simply reads an ACL from disk after having a cache miss. This means we can replace the ACL checking boilerplate code with a single implementation in namei.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>