diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-09 02:46:54 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-24 14:17:05 +0200 |
commit | e68888bcb60ccba4dc21df9f2d8cd7325b64dce7 (patch) | |
tree | bbdf38e109cc6f3533525a88c88b8e570b12ff4d /fs/libfs.c | |
parent | switch nilfs2 to inode->i_acl (diff) | |
download | linux-e68888bcb60ccba4dc21df9f2d8cd7325b64dce7.tar.xz linux-e68888bcb60ccba4dc21df9f2d8cd7325b64dce7.zip |
reiserfs: minimal fix for ACL caching
reiserfs uses NULL as "unknown" and ERR_PTR(-ENODATA) as "no ACL";
several codepaths store the former instead of the latter.
All those codepaths go through iset_acl() and all cases when it's
called with NULL acl are for the second variety, so the minimal
fix is to teach iset_acl() to deal with that.
Proper fix is to switch to more usual conventions and avoid back
and forth between internally used ERR_PTR(-ENODATA) and NULL
expected by the rest of the kernel.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions