diff options
author | loli10K <[email protected]> | 2018-12-05 18:33:52 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-12-05 09:33:52 -0800 |
commit | b53cb02d925258ada06282d7dc4223a251edb5cb (patch) | |
tree | 1d96e3cd60905d1e21fde66ad2bd482a646a87b1 /config/kernel-rwsem.m4 | |
parent | 2aa398f3aa907b71e1f827aec8e59d5dd081cb6f (diff) |
Fix 'zfs receive -F' message when destination has snapshots
When receiving a send stream with forced rollback on a dataset with
snapshots zfs suggests said snapshots must be removed to successfully
receive the stream; however the message is misleading because it
prints the dataset name instead of one of its snapshots.
$ sudo zfs snap pp/recvfs@snap-orig
$ sudo zfs recv -F pp/recvfs < sendstream
cannot receive new filesystem stream: destination has snapshots (eg. pp/recvfs)
must destroy them to overwrite it
This change simply restores the snapshot name in the error message.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #8167
Diffstat (limited to 'config/kernel-rwsem.m4')
0 files changed, 0 insertions, 0 deletions