From: Alexander Shishkin Date: Tue, 17 Aug 2010 14:08:35 +0000 (+0300) Subject: cramfs: only unlock new inodes X-Git-Tag: v2.6.36-rc2~38^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b845ff8f3ea2988ad5041315e2d35298e85cbc2f;p=pandora-kernel.git cramfs: only unlock new inodes Commit 77b8a75f5bb introduced a warning at fs/inode.c:692 unlock_new_inode(), caused by unlock_new_inode() being called on existing inodes as well. This patch changes setup_inode() to only call unlock_new_inode() for I_NEW inodes. Signed-off-by: Alexander Shishkin Signed-off-by: Al Viro --- Reading git-diff-tree failed