git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
46f7bbb
)
Locking comment in FetchProc
author
Felix Frank
<Felix.Frank@Desy.de>
Mon, 13 Jul 2009 08:26:47 +0000 (10:26 +0200)
committer
Derrick Brashear
<shadow|account-1000005@unknown>
Fri, 11 Sep 2009 16:50:58 +0000 (09:50 -0700)
Reviewed-on: http://gerrit.openafs.org/131
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_fetchstore.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_fetchstore.c
b/src/afs/afs_fetchstore.c
index
93060f8
..
145057f
100644
(file)
--- a/
src/afs/afs_fetchstore.c
+++ b/
src/afs/afs_fetchstore.c
@@
-1065,6
+1065,12
@@
afs_CacheFetchProc(register struct afs_conn *tc,
XSTATS_START_TIME(AFS_STATS_FS_RPCIDX_FETCHDATA);
+ /*
+ * Locks held:
+ * avc->lock(R) if setLocks && !slowPass
+ * avc->lock(W) if !setLocks || slowPass
+ * adc->lock(W)
+ */
code = rxfs_fetchInit(
tc, avc, base, size, &length, &moredata, adc, fP, &ops, &rock);