Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107308878
D8331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D8331.diff
View Options
Index: head/sys/boot/zfs/zfsimpl.c
===================================================================
--- head/sys/boot/zfs/zfsimpl.c
+++ head/sys/boot/zfs/zfsimpl.c
@@ -2122,8 +2122,13 @@
&dir)) != 0)
return (rc);
if ((rc = zap_lookup(spa, &dir, DMU_POOL_FEATURES_FOR_READ,
- sizeof (objnum), 1, &objnum)) != 0)
- return (rc);
+ sizeof (objnum), 1, &objnum)) != 0) {
+ /*
+ * It is older pool without features. As we have already
+ * tested the label, just return without raising the error.
+ */
+ return (0);
+ }
if ((rc = objset_get_dnode(spa, &spa->spa_mos, objnum, &dir)) != 0)
return (rc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 7:55 AM (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15779439
Default Alt Text
D8331.diff (632 B)
Attached To
Mode
D8331: loader should boot pre-feature flags pools.
Attached
Detach File
Event Timeline
Log In to Comment