]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix the call to BUG() caused by no free segment found
authorTristan Lelong <tristan.lelong@blunderer.org>
Tue, 20 Nov 2012 00:16:15 +0000 (16:16 -0800)
committerPrasad Joshi <prasadjoshi.linux@gmail.com>
Thu, 22 Nov 2012 16:52:35 +0000 (22:22 +0530)
commit339466142b3f58fe0ee4dea7e8c5f3d33099e89c
tree15f7aa23d4df2e03e2210d1c6c9363a51275a260
parentab2ec19f42dc084880ba9b77e1c153adc1e9c439
Fix the call to BUG() caused by no free segment found

When some incomplete write is detected during the mount, logfs try to recover
and look for a free segment but the list of free segment is populated only later.
This patch switch both function calls.

Signed-off-by: Tristan Lelong <tlelong@adeneo-embedded.com>
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
fs/logfs/super.c