From: Lukas Czerner Date: Mon, 11 Jul 2011 22:47:04 +0000 (-0400) Subject: ext4: remove unnecessary comments in ext4_orphan_add() X-Git-Tag: v3.1-rc1~90^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afb86178cb9b6a7329cf8709aa210fb0a245b606;p=pandora-kernel.git ext4: remove unnecessary comments in ext4_orphan_add() The comment from Al Viro about possible race in the ext4_orphan_add() is not justified. There is no race possible as we always have either i_mutex locked, or the inode can not be referenced from outside hence the J_ASSERS should not be hit from the reason described in comment. This commit replaces it with notion that we are holding i_mutex so it should not be possible for i_nlink to be changed while waiting for s_orphan_lock. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed