summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_output.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-12-30 10:52:07 +0000
committerkib <kib@FreeBSD.org>2010-12-30 10:52:07 +0000
commit64276929dedf9abcecfe35b21f4aff714a4f8c13 (patch)
tree8baa9f0f863df31eb1ae1b208aa471e1be6b2c2b /sys/netinet/sctp_output.c
parent44467ec2f88fce3274351522ab7c5e3b5be0845a (diff)
downloadFreeBSD-src-64276929dedf9abcecfe35b21f4aff714a4f8c13.zip
FreeBSD-src-64276929dedf9abcecfe35b21f4aff714a4f8c13.tar.gz
Handle missing jremrefs when a directory is renamed overtop of
another, deleting it. If the directory is removed, UFS always need to remove the .. ref, even if the ultimate ref on the parent would not change. The new directory must have a new journal entry for that ref. Otherwise journal processing would not properly account for the parent's reference since it will belong to a removed directory entry. Change ufs_rename()'s dotdot rename section to always setup_dotdot_link(). In the tip != NULL case SUJ needs the newref dependency allocated via setup_dotdot_link(). Stop setting isrmdir to 2 for newdirrem() in softdep_setup_remove(). Remove the isdirrem > 1 checks from newdirrem(). Reported by: many Submitted by: jeff Tested by: pho
Diffstat (limited to 'sys/netinet/sctp_output.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud