summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2009-10-14 01:33:22 +0000
committerdlg <dlg@openbsd.org>2009-10-14 01:33:22 +0000
commit7593397169aaaee49a6a1db069945a8139430cc0 (patch)
treedf881a7f939539aab8578ddc490453145b56babb /usr.bin/tmux/cmd.c
parentStart doing the neccessary operations in the detach function in the right order. (diff)
downloadwireguard-openbsd-7593397169aaaee49a6a1db069945a8139430cc0.tar.xz
wireguard-openbsd-7593397169aaaee49a6a1db069945a8139430cc0.zip
rework how devids are handled in the midlayer and mpath.
previously a devid was a structure containing its type, length, and a pointer to the actual devid value. this has been changed so a devid is a header followed immediately by the memory making up the id value. this allows the header and its value to be allocated together. devids are now reference counted, so multiple things (eg, the mpath node handlers and the various scsi_link structures) can share the same allocation safely. this also frees devids when scsi_links go away, which was previously not done. if mpath is enabled, then print the devids out as part of the devices attach line.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
0 files changed, 0 insertions, 0 deletions