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
Kirill Smelkov
linux
Commits
69c45d57
Commit
69c45d57
authored
Apr 16, 2018
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove rpc_rmdir()
no users since 2014... Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
22762711
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
include/linux/sunrpc/rpc_pipe_fs.h
include/linux/sunrpc/rpc_pipe_fs.h
+0
-2
net/sunrpc/rpc_pipe.c
net/sunrpc/rpc_pipe.c
+0
-16
No files found.
include/linux/sunrpc/rpc_pipe_fs.h
View file @
69c45d57
...
...
@@ -122,8 +122,6 @@ extern struct dentry *rpc_create_cache_dir(struct dentry *,
struct
cache_detail
*
);
extern
void
rpc_remove_cache_dir
(
struct
dentry
*
);
extern
int
rpc_rmdir
(
struct
dentry
*
dentry
);
struct
rpc_pipe
*
rpc_mkpipe_data
(
const
struct
rpc_pipe_ops
*
ops
,
int
flags
);
void
rpc_destroy_pipe_data
(
struct
rpc_pipe
*
pipe
);
extern
struct
dentry
*
rpc_mkpipe_dentry
(
struct
dentry
*
,
const
char
*
,
void
*
,
...
...
net/sunrpc/rpc_pipe.c
View file @
69c45d57
...
...
@@ -609,22 +609,6 @@ static int __rpc_rmdir(struct inode *dir, struct dentry *dentry)
return
ret
;
}
int
rpc_rmdir
(
struct
dentry
*
dentry
)
{
struct
dentry
*
parent
;
struct
inode
*
dir
;
int
error
;
parent
=
dget_parent
(
dentry
);
dir
=
d_inode
(
parent
);
inode_lock_nested
(
dir
,
I_MUTEX_PARENT
);
error
=
__rpc_rmdir
(
dir
,
dentry
);
inode_unlock
(
dir
);
dput
(
parent
);
return
error
;
}
EXPORT_SYMBOL_GPL
(
rpc_rmdir
);
static
int
__rpc_unlink
(
struct
inode
*
dir
,
struct
dentry
*
dentry
)
{
int
ret
;
...
...
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