[PATCH 0/2] nilfs2: fix two long-standing bugs on btree block removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes two long standing bugs related to block removal code
of nilfs2 btree.

The first patch fixes potential filesystem corruption after having
deleted block.  This may be a root cause of checkpoint file corruption
after garbage collection.

Another is a leak bug which doesn't terminate btree node block address
properly when shrinking a btree into a childless root node.  This one
is harmless except it chips away free disk space in the long run.

I'll send them upstream, and forward to stable if needed.

Thanks,
Ryusuke Konishi
--
Ryusuke Konishi (2):
      nilfs2: fix incorrect block address termination in node concatenation
      nilfs2: fix missing block address termination in btree node shrinking

 fs/nilfs2/btree.c |   39 +++++++++++++++++++++++++++------------
 1 files changed, 27 insertions(+), 12 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux