Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1e903eda
Commit
1e903eda
authored
Sep 16, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sunrpc: switch to %pd
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a6a9f18f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+6
-6
No files found.
net/sunrpc/rpc_pipe.c
View file @
1e903eda
...
...
@@ -519,8 +519,8 @@ static int __rpc_create_common(struct inode *dir, struct dentry *dentry,
d_add
(
dentry
,
inode
);
return
0
;
out_err:
printk
(
KERN_WARNING
"%s: %s failed to allocate inode for dentry %
s
\n
"
,
__FILE__
,
__func__
,
dentry
->
d_name
.
name
);
printk
(
KERN_WARNING
"%s: %s failed to allocate inode for dentry %
pd
\n
"
,
__FILE__
,
__func__
,
dentry
);
dput
(
dentry
);
return
-
ENOMEM
;
}
...
...
@@ -755,8 +755,8 @@ static int rpc_populate(struct dentry *parent,
out_bad:
__rpc_depopulate
(
parent
,
files
,
start
,
eof
);
mutex_unlock
(
&
dir
->
i_mutex
);
printk
(
KERN_WARNING
"%s: %s failed to populate directory %
s
\n
"
,
__FILE__
,
__func__
,
parent
->
d_name
.
name
);
printk
(
KERN_WARNING
"%s: %s failed to populate directory %
pd
\n
"
,
__FILE__
,
__func__
,
parent
);
return
err
;
}
...
...
@@ -852,8 +852,8 @@ struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name,
return
dentry
;
out_err:
dentry
=
ERR_PTR
(
err
);
printk
(
KERN_WARNING
"%s: %s() failed to create pipe %
s
/%s (errno = %d)
\n
"
,
__FILE__
,
__func__
,
parent
->
d_name
.
name
,
name
,
printk
(
KERN_WARNING
"%s: %s() failed to create pipe %
pd
/%s (errno = %d)
\n
"
,
__FILE__
,
__func__
,
parent
,
name
,
err
);
goto
out
;
}
...
...
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