[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] Change in haiku[master]: ext2: fix panic mounting ext2-overwritten-with-BFS volumes
From:       Gerrit <review () review ! haiku-os ! org>
Date:       2019-08-30 19:03:46
Message-ID: gerrit.1567191823000.Ie2ed6a969ea3ffd343dedfe45a15dfc37af05804 () review ! haiku-os ! org
[Download RAW message or body]

From Adrien Destugues <pulkomandy@gmail=2Ecom>:

Adrien Destugues has uploa=
ded this change for review=2E ( https://review=2Ehaiku-os=2Eorg/c/haiku/+/1=
800 )


Change subject: ext2: fix panic mounting ext2-overwritten-with-BFS =
volumes
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=
=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E=2E

ext2=
: fix panic mounting ext2-overwritten-with-BFS volumes

I have two partitio=
ns which used to be ext2, but have long since been
reinitialized as BFS=2E =
However, the ext2 superblock is still here, and
the ext2 filesystem will de=
tect it=2E It crashes later on trying to access
an Inode at block -1, so ju=
st add a check for that to avoid the crash=2E
---
M src/add-ons/kernel/file=
_systems/ext2/Volume=2Ecpp
1 file changed, 6 insertions(+), 1 deletion(-)

=


  git pull ssh://git=2Ehaiku-os=2Eorg:22/haiku refs/changes/00/1800/1
-- =

To view, visit https://review=2Ehaiku-os=2Eorg/c/haiku/+/1800
To unsubscri=
be, or for help writing mail filters, visit https://review=2Ehaiku-os=2Eorg=
/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ie=
2ed6a969ea3ffd343dedfe45a15dfc37af05804
Gerrit-Change-Number: 1800
Gerrit-P=
atchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@gmail=2Ecom>
Gerrit-M=
essageType: newchange

[Attachment #3 (text/html)]

<p>Adrien Destugues has uploaded this change for <strong>review</strong>.</p><p><a \
href="https://review.haiku-os.org/c/haiku/+/1800">View Change</a></p><pre \
style="font-family: monospace,monospace; white-space: pre-wrap;">ext2: fix panic \
mounting ext2-overwritten-with-BFS volumes<br><br>I have two partitions which used to \
be ext2, but have long since been<br>reinitialized as BFS. However, the ext2 \
superblock is still here, and<br>the ext2 filesystem will detect it. It crashes later \
on trying to access<br>an Inode at block -1, so just add a check for that to avoid \
the crash.<br>---<br>M src/add-ons/kernel/file_systems/ext2/Volume.cpp<br>1 file \
changed, 6 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: \
monospace,monospace; white-space: pre-wrap;">git pull ssh://git.haiku-os.org:22/haiku \
refs/changes/00/1800/1</pre><p>To view, visit <a \
href="https://review.haiku-os.org/c/haiku/+/1800">change 1800</a>. To unsubscribe, or \
for help writing mail filters, visit <a \
href="https://review.haiku-os.org/settings">settings</a>.</p><div itemscope \
itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" \
itemtype="http://schema.org/ViewAction"><link itemprop="url" \
href="https://review.haiku-os.org/c/haiku/+/1800"/><meta itemprop="name" \
content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: haiku </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: \
Ie2ed6a969ea3ffd343dedfe45a15dfc37af05804 </div> <div style="display:none"> \
Gerrit-Change-Number: 1800 </div> <div style="display:none"> Gerrit-PatchSet: 1 \
</div> <div style="display:none"> Gerrit-Owner: Adrien Destugues \
&lt;pulkomandy@gmail.com&gt; </div> <div style="display:none"> Gerrit-MessageType: \
newchange </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic