summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_main.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-01-07 12:24:03 -0800
committerBrian Behlendorf <[email protected]>2011-01-07 12:26:02 -0800
commit95c73795b001267d6b683b71e8abe51de4b0c938 (patch)
treeca90416e11c6baa7a1d26565450feb3848c570d1 /cmd/zfs/zfs_main.c
parent149e873ab174ded1f632f2b2eb2267593517c7ca (diff)
Fix ZVOL rename minor devices
During a rename we need to be careful to destroy and create a new minor for the ZVOL _only_ if the rename succeeded. The previous code would both destroy you minor device unconditionally, it would also fail to create the new minor device on success.
Diffstat (limited to 'cmd/zfs/zfs_main.c')
0 files changed, 0 insertions, 0 deletions