From: Fabian Frederick Date: Mon, 7 Apr 2014 22:39:00 +0000 (-0700) Subject: fs/affs/dir.c: unlock/brelse dir on failure + code clean-up X-Git-Tag: v3.15-rc1~57^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d40c4d46eaa2295b5d1ee08f594b023245db87a4;p=pandora-kernel.git fs/affs/dir.c: unlock/brelse dir on failure + code clean-up Commit 0edf977d2ae3 ("[readdir] convert affs") returns directly -EIO without unlocking dir inode and releasing dir bh when second affs_bread sequence fails. This patch restores initial behaviour. It also fixes pr_debug and affs_error to fit in 80 columns + removes reference to filldir (replaced by dir_emit in the commit above). Signed-off-by: Fabian Frederick Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed