Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61caea
)
The rootsquash info will be changed without notify client.
author
fanyong
<fanyong>
Sun, 8 Oct 2006 10:21:06 +0000
(10:21 +0000)
committer
fanyong
<fanyong>
Sun, 8 Oct 2006 10:21:06 +0000
(10:21 +0000)
So the client will update perm actively. (sanity-sec test_3)
lustre/llite/remote_perm.c
patch
|
blob
|
history
diff --git
a/lustre/llite/remote_perm.c
b/lustre/llite/remote_perm.c
index
7fdb295
..
0b2eabf
100644
(file)
--- a/
lustre/llite/remote_perm.c
+++ b/
lustre/llite/remote_perm.c
@@
-236,7
+236,7
@@
int lustre_check_remote_perm(struct inode *inode, int mask)
check:
rc = do_check_remote_perm(lli, mask);
- if (
rc != -ENOENT
)
+ if (
!rc || ((rc != -ENOENT) && i)
)
RETURN(rc);
might_sleep();
@@
-244,7
+244,7
@@
check:
down(&lli->lli_rmtperm_sem);
/* check again */
rc = do_check_remote_perm(lli, mask);
- if (
rc != -ENOENT
) {
+ if (
!rc || ((rc != -ENOENT) && i)
) {
up(&lli->lli_rmtperm_sem);
RETURN(rc);
}