History

NFS: clean up rpc_rmdir

Make it take a dentry argument instead of a path

Trond Myklebust committed 20 years ago

Commit dff02cc1 parent 5d674763 files · +9 −17Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/sunrpc/rpc_pipe_fs.h+1−1
@@ -42,7 +42,7 @@ RPC_I(struct inode *inode) · 41 unmodified lines
4242 extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *);
4343
4444 extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *);
45−extern int rpc_rmdir(char *);
45+extern int rpc_rmdir(struct dentry *);
4646 extern struct dentry *rpc_mkpipe(char *, void *, struct rpc_pipe_ops *, int flags);
4747 extern int rpc_unlink(struct dentry *);
4848 extern struct vfsmount *rpc_get_mount(void);