From: Chao Yu Date: Sat, 9 Aug 2014 01:49:31 +0000 (+0800) Subject: udf: avoid unneeded up_write when fail to add entry in ->symlink X-Git-Tag: omap-for-v3.17/fixes-against-rc2~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cd083b498572fb9fa575cce3ed910c8ee84294;p=pandora-kernel.git udf: avoid unneeded up_write when fail to add entry in ->symlink We have released the ->i_data_sem before invoking udf_add_entry(), so in following error path, we should not release this lock again. Signed-off-by: Chao Yu Signed-off-by: Jan Kara --- Reading git-diff-tree failed