From: Jan Kara Date: Tue, 25 Nov 2014 16:49:25 +0000 (-0500) Subject: ext4: move handling of list of shrinkable inodes into extent status code X-Git-Tag: omap-for-v3.19/fixes-rc1~116^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0dea4c1651f3cdb6d17604fa473e72cb74cdc6b;p=pandora-kernel.git ext4: move handling of list of shrinkable inodes into extent status code Currently callers adding extents to extent status tree were responsible for adding the inode to the list of inodes with freeable extents. This is error prone and puts list handling in unnecessarily many places. Just add inode to the list automatically when the first non-delay extent is added to the tree and remove inode from the list when the last non-delay extent is removed. Signed-off-by: Jan Kara Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed