mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 20:22:14 +03:00
config: remove HAVE_TMPFILE
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
committed by
Brian Behlendorf
parent
2de203163d
commit
de10132c34
@@ -3461,9 +3461,9 @@ zfs_link(znode_t *tdzp, znode_t *szp, char *name, cred_t *cr,
|
||||
boolean_t waited = B_FALSE;
|
||||
boolean_t is_tmpfile = 0;
|
||||
uint64_t txg;
|
||||
#ifdef HAVE_TMPFILE
|
||||
|
||||
is_tmpfile = (sip->i_nlink == 0 && (sip->i_state & I_LINKABLE));
|
||||
#endif
|
||||
|
||||
ASSERT(S_ISDIR(ZTOI(tdzp)->i_mode));
|
||||
|
||||
if (name == NULL)
|
||||
|
||||
Reference in New Issue
Block a user