diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-22 16:59:10 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-06-22 16:59:10 +0200 |
commit | faf450ef4a8567e4c75a905aadae01cf401d893a (patch) | |
tree | b06d7b68191edd438f9a40e609caeb9380a2a90e /fs/gfs2/acl.c | |
parent | [GFS2] Fix double locking problem in rename (diff) | |
download | linux-faf450ef4a8567e4c75a905aadae01cf401d893a.tar.xz linux-faf450ef4a8567e4c75a905aadae01cf401d893a.zip |
[GFS2] Remove gfs2_repermission
gfs2_repermission is just a wrapper for permission, so remove it and
call permission directly where required.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/acl.c')
-rw-r--r-- | fs/gfs2/acl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/acl.c b/fs/gfs2/acl.c index 9ef4cf2c03db..399317841501 100644 --- a/fs/gfs2/acl.c +++ b/fs/gfs2/acl.c @@ -179,9 +179,7 @@ int gfs2_check_acl(struct inode *inode, int mask) struct gfs2_holder i_gh; int error; - error = gfs2_glock_nq_init(ip->i_gl, - LM_ST_SHARED, LM_FLAG_ANY, - &i_gh); + error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); if (!error) { error = gfs2_check_acl_locked(inode, mask); gfs2_glock_dq_uninit(&i_gh); |