From: Russ W. Knize Date: Tue, 24 Sep 2013 14:35:40 +0000 (-0500) Subject: f2fs: don't let the orphan inode counter underflow X-Git-Tag: v3.13-rc1~113^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=885166c03c1d0ea6d79d707229340e3161ed1316;p=pandora-kernel.git f2fs: don't let the orphan inode counter underflow Accounting errors from buggy code calling the acquire/release/remove orphan inode interfaces can cause n_orphans to underflow, which will then cause acquire_orphan_inode() to return -ENOSPC on the next operation. This commit guards against that condition. Signed-off-by: Russ Knize Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed