From de34545a41d91b03000efdb619166c5e792b29cf Mon Sep 17 00:00:00 2001 From: wangdi Date: Thu, 1 Sep 2005 06:01:38 +0000 Subject: [PATCH] Branch: HEAD lli_posix_acl and lli_key_info is not reliable on checking whether the acl and key_info is valid on the client --- lustre/llite/llite_gs.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lustre/llite/llite_gs.c b/lustre/llite/llite_gs.c index 16a2f32..f511d38 100644 --- a/lustre/llite/llite_gs.c +++ b/lustre/llite/llite_gs.c @@ -60,14 +60,6 @@ static int ll_get_acl_key(struct inode *inode, struct posix_acl **acl, int rc = 0; ENTRY; - if (lli->lli_posix_acl && lli->lli_key_info) { - /*If they are in the local cache, just fetch them*/ - spin_lock(&lli->lli_lock); - *acl = posix_acl_dup(lli->lli_posix_acl); - *lkey = lustre_key_get(lli->lli_key_info); - spin_unlock(&lli->lli_lock); - RETURN(rc); - } sbi = ll_i2sbi(inode); ll_inode2id(&id, inode); -- 1.8.3.1