From: Theodore Ts'o Date: Fri, 15 Feb 2008 20:00:38 +0000 (-0500) Subject: ext4: Don't use ext4_dec_count() if not needed X-Git-Tag: v2.6.25-rc4~155^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=825f1481ead4ce40671089bae7412ac3519e8caa;p=pandora-kernel.git ext4: Don't use ext4_dec_count() if not needed The ext4_dec_count() function is only needed when dropping the i_nlink count on inodes which are (or which could be) directories. If we *know* that the inode in question can't possibly be a directory, use drop_nlink or clear_nlink() if we know i_nlink is 1. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed