Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
f290bcc7
Commit
f290bcc7
authored
19 years ago
by
Lai Siyao
Browse files
Options
Downloads
Patches
Plain Diff
cleanup debug message.
parent
96b6ec84
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lustre/mds/mds_capa.c
+1
-1
1 addition, 1 deletion
lustre/mds/mds_capa.c
lustre/obdclass/capa.c
+0
-17
0 additions, 17 deletions
lustre/obdclass/capa.c
with
1 addition
and
18 deletions
lustre/mds/mds_capa.c
+
1
−
1
View file @
f290bcc7
...
...
@@ -515,7 +515,7 @@ int mds_pack_capa(struct obd_device *obd, struct mds_export_data *med,
if
(
mfd
==
NULL
)
{
DEBUG_CAPA
(
D_INFO
,
req_capa
,
"no handle "
LPX64
" for"
,
req_body
->
handle
.
cookie
);
RETURN
(
-
E
STALE
);
RETURN
(
-
E
NOENT
);
}
mode
=
accmode
(
mfd
->
mfd_mode
);
...
...
This diff is collapsed.
Click to expand it.
lustre/obdclass/capa.c
+
0
−
17
View file @
f290bcc7
...
...
@@ -340,14 +340,6 @@ struct obd_capa *capa_renew(struct lustre_capa *capa, int type)
return
ocapa
;
}
static
void
dump_capa_key
(
char
*
buf
,
char
*
key
)
{
int
i
,
n
=
0
;
for
(
i
=
0
;
i
<
CAPA_KEY_LEN
;
i
++
)
n
+=
sprintf
(
buf
+
n
,
"%02x"
,
(
unsigned
char
)
key
[
i
]);
}
void
capa_hmac
(
struct
crypto_tfm
*
tfm
,
__u8
*
key
,
struct
lustre_capa
*
capa
)
{
int
keylen
=
CAPA_KEY_LEN
;
...
...
@@ -359,15 +351,6 @@ void capa_hmac(struct crypto_tfm *tfm, __u8 *key, struct lustre_capa *capa)
LASSERT
(
tfm
);
crypto_hmac
(
tfm
,
key
,
&
keylen
,
&
sl
,
1
,
capa
->
lc_hmac
);
{
char
*
buf
=
NULL
;
OBD_ALLOC
(
buf
,
keylen
*
2
+
1
);
if
(
key
)
{
dump_capa_key
(
buf
,
key
);
DEBUG_CAPA
(
D_INODE
,
capa
,
"hmac with %s"
,
buf
);
}
}
}
void
capa_dup
(
void
*
dst
,
struct
obd_capa
*
ocapa
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment