mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
freebsd: remove no-op vn_renamepath()
vn_renamepath() is a Solaris-ism that was defined away in the FreeBSD port. Now that the only use is in the FreeBSD zfs_vnops_os.c, drop it entierly. 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
270b1b5fa7
commit
6c89cffc2c
@ -107,7 +107,6 @@ vn_flush_cached_data(vnode_t *vp, boolean_t sync)
|
|||||||
|
|
||||||
#define vn_exists(vp) do { } while (0)
|
#define vn_exists(vp) do { } while (0)
|
||||||
#define vn_invalid(vp) do { } while (0)
|
#define vn_invalid(vp) do { } while (0)
|
||||||
#define vn_renamepath(tdvp, svp, tnm, lentnm) do { } while (0)
|
|
||||||
#define vn_free(vp) do { } while (0)
|
#define vn_free(vp) do { } while (0)
|
||||||
#define vn_matchops(vp, vops) ((vp)->v_op == &(vops))
|
#define vn_matchops(vp, vops) ((vp)->v_op == &(vops))
|
||||||
|
|
||||||
|
@ -3373,11 +3373,6 @@ zfs_do_rename_impl(vnode_t *sdvp, vnode_t **svpp, struct componentname *scnp,
|
|||||||
if (error == 0) {
|
if (error == 0) {
|
||||||
zfs_log_rename(zilog, tx, TX_RENAME, sdzp,
|
zfs_log_rename(zilog, tx, TX_RENAME, sdzp,
|
||||||
snm, tdzp, tnm, szp);
|
snm, tdzp, tnm, szp);
|
||||||
|
|
||||||
/*
|
|
||||||
* Update path information for the target vnode
|
|
||||||
*/
|
|
||||||
vn_renamepath(tdvp, *svpp, tnm, strlen(tnm));
|
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* At this point, we have successfully created
|
* At this point, we have successfully created
|
||||||
|
Loading…
Reference in New Issue
Block a user