diff options
author | Taesoo Kim <tsgatesv@gmail.com> | 2015-03-25 15:55:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-03-25 16:20:31 -0700 |
commit | 3d5d472cf55d1be091e8a145f80602bf435ece85 (patch) | |
tree | b7dabd4ff6599771ec9dc19beacb60ebf23bb352 /lib/cordic.c | |
parent | cfa869438282be84ad4110bba5027ef1fbbe71e4 (diff) | |
download | linux-3d5d472cf55d1be091e8a145f80602bf435ece85.tar.bz2 |
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>
Diffstat (limited to 'lib/cordic.c')
0 files changed, 0 insertions, 0 deletions