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:
25e6c90
)
remove redundant code.
author
lsy
<lsy>
Mon, 9 Oct 2006 14:30:39 +0000
(14:30 +0000)
committer
lsy
<lsy>
Mon, 9 Oct 2006 14:30:39 +0000
(14:30 +0000)
lustre/obdfilter/filter_io.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io.c
b/lustre/obdfilter/filter_io.c
index
9aa509d
..
a6645d4
100644
(file)
--- a/
lustre/obdfilter/filter_io.c
+++ b/
lustre/obdfilter/filter_io.c
@@
-293,12
+293,8
@@
static int filter_preprw_read(int cmd, struct obd_export *exp, struct obdo *oa,
rc = filter_verify_capa(exp, NULL, obdo_mdsno(oa), capa,
CAPA_OPC_OSS_READ);
- if (rc) {
- rc = filter_verify_capa(exp, NULL, obdo_mdsno(oa), capa,
- CAPA_OPC_OSS_READ);
- if (rc)
- RETURN(rc);
- }
+ if (rc)
+ RETURN(rc);
if (oa && oa->o_valid & OBD_MD_FLGRANT) {
spin_lock(&obd->obd_osfs_lock);