summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorTaesoo Kim <tsgatesv@gmail.com>2015-03-25 15:55:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-03-25 16:20:31 -0700
commit3d5d472cf55d1be091e8a145f80602bf435ece85 (patch)
treeb7dabd4ff6599771ec9dc19beacb60ebf23bb352 /kernel/trace
parentcfa869438282be84ad4110bba5027ef1fbbe71e4 (diff)
downloadlinux-3d5d472cf55d1be091e8a145f80602bf435ece85.tar.gz
linux-3d5d472cf55d1be091e8a145f80602bf435ece85.tar.bz2
linux-3d5d472cf55d1be091e8a145f80602bf435ece85.zip
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 'kernel/trace')
0 files changed, 0 insertions, 0 deletions