From: Amir Goldstein Date: Sat, 26 Feb 2011 20:40:19 +0000 (+0200) Subject: ext3: skip orphan cleanup on rocompat fs X-Git-Tag: v2.6.37.6~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cbb72182bf7eb46b2088953fb8689669ccff399;p=pandora-kernel.git ext3: skip orphan cleanup on rocompat fs commit ce654b37f87980d95f339080e4c3bdb2370bdf22 upstream. Orphan cleanup is currently executed even if the file system has some number of unknown ROCOMPAT features, which deletes inodes and frees blocks, which could be very bad for some RO_COMPAT features. This patch skips the orphan cleanup if it contains readonly compatible features not known by this ext3 implementation, which would prevent the fs from being mounted (or remounted) readwrite. Signed-off-by: Amir Goldstein Signed-off-by: Jan Kara Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed