Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
16c32b71
Commit
16c32b71
authored
Oct 27, 2005
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: Convert unnecessary XDR warning messages into dprintk()
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
4f9838c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
fs/nfs/nfs4xdr.c
fs/nfs/nfs4xdr.c
+6
-11
No files found.
fs/nfs/nfs4xdr.c
View file @
16c32b71
...
@@ -2766,8 +2766,7 @@ static int decode_server_caps(struct xdr_stream *xdr, struct nfs4_server_caps_re
...
@@ -2766,8 +2766,7 @@ static int decode_server_caps(struct xdr_stream *xdr, struct nfs4_server_caps_re
goto
xdr_error
;
goto
xdr_error
;
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
xdr_error:
xdr_error:
if
(
status
!=
0
)
dprintk
(
"%s: xdr returned %d!
\n
"
,
__FUNCTION__
,
-
status
);
printk
(
KERN_NOTICE
"%s: xdr error %d!
\n
"
,
__FUNCTION__
,
-
status
);
return
status
;
return
status
;
}
}
...
@@ -2800,8 +2799,7 @@ static int decode_statfs(struct xdr_stream *xdr, struct nfs_fsstat *fsstat)
...
@@ -2800,8 +2799,7 @@ static int decode_statfs(struct xdr_stream *xdr, struct nfs_fsstat *fsstat)
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
xdr_error:
xdr_error:
if
(
status
!=
0
)
dprintk
(
"%s: xdr returned %d!
\n
"
,
__FUNCTION__
,
-
status
);
printk
(
KERN_NOTICE
"%s: xdr error %d!
\n
"
,
__FUNCTION__
,
-
status
);
return
status
;
return
status
;
}
}
...
@@ -2826,8 +2824,7 @@ static int decode_pathconf(struct xdr_stream *xdr, struct nfs_pathconf *pathconf
...
@@ -2826,8 +2824,7 @@ static int decode_pathconf(struct xdr_stream *xdr, struct nfs_pathconf *pathconf
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
xdr_error:
xdr_error:
if
(
status
!=
0
)
dprintk
(
"%s: xdr returned %d!
\n
"
,
__FUNCTION__
,
-
status
);
printk
(
KERN_NOTICE
"%s: xdr error %d!
\n
"
,
__FUNCTION__
,
-
status
);
return
status
;
return
status
;
}
}
...
@@ -2886,8 +2883,7 @@ static int decode_getfattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, cons
...
@@ -2886,8 +2883,7 @@ static int decode_getfattr(struct xdr_stream *xdr, struct nfs_fattr *fattr, cons
if
((
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
))
==
0
)
if
((
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
))
==
0
)
fattr
->
valid
=
NFS_ATTR_FATTR
|
NFS_ATTR_FATTR_V3
|
NFS_ATTR_FATTR_V4
;
fattr
->
valid
=
NFS_ATTR_FATTR
|
NFS_ATTR_FATTR_V3
|
NFS_ATTR_FATTR_V4
;
xdr_error:
xdr_error:
if
(
status
!=
0
)
dprintk
(
"%s: xdr returned %d
\n
"
,
__FUNCTION__
,
-
status
);
printk
(
KERN_NOTICE
"%s: xdr error %d!
\n
"
,
__FUNCTION__
,
-
status
);
return
status
;
return
status
;
}
}
...
@@ -2920,8 +2916,7 @@ static int decode_fsinfo(struct xdr_stream *xdr, struct nfs_fsinfo *fsinfo)
...
@@ -2920,8 +2916,7 @@ static int decode_fsinfo(struct xdr_stream *xdr, struct nfs_fsinfo *fsinfo)
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
status
=
verify_attr_len
(
xdr
,
savep
,
attrlen
);
xdr_error:
xdr_error:
if
(
status
!=
0
)
dprintk
(
"%s: xdr returned %d!
\n
"
,
__FUNCTION__
,
-
status
);
printk
(
KERN_NOTICE
"%s: xdr error %d!
\n
"
,
__FUNCTION__
,
-
status
);
return
status
;
return
status
;
}
}
...
@@ -3088,7 +3083,7 @@ static int decode_open(struct xdr_stream *xdr, struct nfs_openres *res)
...
@@ -3088,7 +3083,7 @@ static int decode_open(struct xdr_stream *xdr, struct nfs_openres *res)
p
+=
bmlen
;
p
+=
bmlen
;
return
decode_delegation
(
xdr
,
res
);
return
decode_delegation
(
xdr
,
res
);
xdr_error:
xdr_error:
printk
(
KERN_NOTICE
"%s: xdr error!
\n
"
,
__FUNCTION__
);
dprintk
(
"%s: Bitmap too large! Length = %u
\n
"
,
__FUNCTION__
,
bmlen
);
return
-
EIO
;
return
-
EIO
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment