diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-16 14:20:26 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-04-16 14:20:26 -0400 |
commit | 69c45d57bab00d5777e7686b3965b68b8ab043c7 (patch) | |
tree | 42fdb9de7d0ca0e1f7692073d529f7ab43f23172 /net/sunrpc | |
parent | 22762711479959754e005f5bb8e6abc37bf9e0ba (diff) | |
download | linux-stable-69c45d57bab00d5777e7686b3965b68b8ab043c7.tar.gz linux-stable-69c45d57bab00d5777e7686b3965b68b8ab043c7.tar.bz2 linux-stable-69c45d57bab00d5777e7686b3965b68b8ab043c7.zip |
remove rpc_rmdir()
no users since 2014...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 0f08934b2cea..9ec3bd7369dc 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -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; |