aboutsummaryrefslogtreecommitdiffstats
path: root/include/os
diff options
context:
space:
mode:
authorBrooks Davis <[email protected]>2022-10-27 22:24:42 +0100
committerBrian Behlendorf <[email protected]>2022-11-07 15:54:43 -0800
commit270b1b5fa75adc54d5af5794a885d05120f83640 (patch)
treef2708bc0c3b608ceb7136cdd2da2cde4be012594 /include/os
parentc23738c70eb86a7f04f93292caef2ed977047608 (diff)
freebsd: remove unused vn_rename()
Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Richard Yao <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Brooks Davis <[email protected]> Closes #14127
Diffstat (limited to 'include/os')
-rw-r--r--include/os/freebsd/spl/sys/vnode.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h
index bbadf569c..084289b6b 100644
--- a/include/os/freebsd/spl/sys/vnode.h
+++ b/include/os/freebsd/spl/sys/vnode.h
@@ -205,15 +205,6 @@ vattr_init_mask(vattr_t *vap)
#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>
#endif /* _OPENSOLARIS_SYS_VNODE_H_ */