WSL2-Linux-Kernel/fs/affs
Taesoo Kim 3d5d472cf5 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 <tsgatesv@gmail.com>
Cc: Fabian Frederick <fabf@skynet.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-03-25 16:20:31 -07:00
..
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
Kconfig fs/affs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
affs.h fs/affs: define AFFSNAMEMAX to replace constant use 2015-02-17 14:34:52 -08:00
amigaffs.c fs/affs/amigaffs.c: remove else after return 2015-02-17 14:34:52 -08:00
bitmap.c fs/affs/bitmap.c: remove unnecessary return 2015-02-17 14:34:52 -08:00
dir.c fs/affs: define AFFSNAMEMAX to replace constant use 2015-02-17 14:34:52 -08:00
file.c fs/affs/file.c: unlock/release page on error 2015-03-25 16:20:31 -07:00
inode.c fs/affs/inode.c: remove double extern affs_symlink_inode_operations 2015-02-17 14:34:52 -08:00
namei.c fs/affs: define AFFSNAMEMAX to replace constant use 2015-02-17 14:34:52 -08:00
super.c fs/affs/super.c: fix switch indentation 2015-02-17 14:34:53 -08:00
symlink.c fs/affs: pr_debug cleanup 2014-06-06 16:08:13 -07:00