From: Taesoo Kim Date: Wed, 25 Mar 2015 22:55:29 +0000 (-0700) Subject: fs/affs/file.c: unlock/release page on error X-Git-Tag: omap-for-v4.1/fixes-rc1~268^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d5d472cf55d1be091e8a145f80602bf435ece85;p=pandora-kernel.git fs/affs/file.c: unlock/release page on error When affs_bread_ino() fails, correctly unlock the page and release the page cache with proper error value. All write_end() should unlock/release the page that was locked by write_beg(). Signed-off-by: Taesoo Kim Cc: Fabian Frederick Cc: Al Viro Cc: Geert Uytterhoeven Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed