be_error.c (30e009fc3aea159551e31824b912ce6f6c80baa4) | be_error.c (8f5c6c31ae7b2fe787fbe11909e33fd151c6d524) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2017 Kyle J. Kneitinger <kyle@kneit.in> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 94 unchanged lines hidden (view full) --- 103 return ("insufficient memory"); 104 105 case BE_ERR_UNKNOWN: 106 return ("unknown error"); 107 108 case BE_ERR_INVORIGIN: 109 return ("invalid origin"); 110 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2017 Kyle J. Kneitinger <kyle@kneit.in> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 94 unchanged lines hidden (view full) --- 103 return ("insufficient memory"); 104 105 case BE_ERR_UNKNOWN: 106 return ("unknown error"); 107 108 case BE_ERR_INVORIGIN: 109 return ("invalid origin"); 110 |
111 case BE_ERR_HASCLONES: 112 return ("snapshot has clones"); 113 |
|
111 default: 112 assert(lbh->error == BE_ERR_SUCCESS); 113 return ("no error"); 114 } 115} 116 117 118void --- 18 unchanged lines hidden --- | 114 default: 115 assert(lbh->error == BE_ERR_SUCCESS); 116 return ("no error"); 117 } 118} 119 120 121void --- 18 unchanged lines hidden --- |