Make it take a dentry argument instead of a path
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -42,7 +42,7 @@ RPC_I(struct inode *inode) · 41 unmodified lines | ||
| 42 | 42 | extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); |
| 43 | 43 | |
| 44 | 44 | extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); |
| 45 | −extern int rpc_rmdir(char *); | |
| 45 | +extern int rpc_rmdir(struct dentry *); | |
| 46 | 46 | extern struct dentry *rpc_mkpipe(char *, void *, struct rpc_pipe_ops *, int flags); |
| 47 | 47 | extern int rpc_unlink(struct dentry *); |
| 48 | 48 | extern struct vfsmount *rpc_get_mount(void); |