mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-04-06 17:49:11 +03:00
freebsd: remove unused vn_rename()
Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Brooks Davis <brooks.davis@sri.com> Closes #14127
This commit is contained in:
parent
c23738c70e
commit
270b1b5fa7
@ -205,15 +205,6 @@ vattr_init_mask(vattr_t *vap)
|
|||||||
|
|
||||||
#define RLIM64_INFINITY 0
|
#define RLIM64_INFINITY 0
|
||||||
|
|
||||||
static __inline int
|
|
||||||
vn_rename(char *from, char *to, enum uio_seg seg)
|
|
||||||
{
|
|
||||||
|
|
||||||
ASSERT(seg == UIO_SYSSPACE);
|
|
||||||
|
|
||||||
return (kern_renameat(curthread, AT_FDCWD, from, AT_FDCWD, to, seg));
|
|
||||||
}
|
|
||||||
|
|
||||||
#include <sys/vfs.h>
|
#include <sys/vfs.h>
|
||||||
|
|
||||||
#endif /* _OPENSOLARIS_SYS_VNODE_H_ */
|
#endif /* _OPENSOLARIS_SYS_VNODE_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user