diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-29 18:41:49 +0300 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 18:37:32 +0300 |
commit | 77386e1f662f104680da7885d32e068e4b11b882 (patch) | |
tree | cac64ab84a9e54c79bbe0041a2873f6c14f9dccf /fs/gfs2/ops_inode.c | |
parent | 57adf7eede38d315e0e328c52484d6a596e9a238 (diff) | |
download | linux-77386e1f662f104680da7885d32e068e4b11b882.tar.xz |
[GFS2] Remove gfs2_check_acl()
As pointed out by Adrian Bunk, the gfs2_check_acl() function is no
longer used. This patch removes it and renamed gfs2_check_acl_locked()
to gfs2_check_acl() since we only need one variant of that function now.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index fbe38c1ab54e..636dda4c7d38 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c @@ -856,7 +856,7 @@ static int gfs2_permission(struct inode *inode, int mask, struct nameidata *nd) unlock = 1; } - error = generic_permission(inode, mask, gfs2_check_acl_locked); + error = generic_permission(inode, mask, gfs2_check_acl); if (unlock) gfs2_glock_dq_uninit(&i_gh); |