diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-04-07 15:39:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 16:36:08 -0700 |
commit | d40c4d46eaa2295b5d1ee08f594b023245db87a4 (patch) | |
tree | 409ef2009486cb9bbf1f85fec22d7252d9d5f4a4 /fs/read_write.c | |
parent | adbd319e5ae90b346e6dbb692862318faa7a7808 (diff) | |
download | linux-d40c4d46eaa2295b5d1ee08f594b023245db87a4.tar.gz linux-d40c4d46eaa2295b5d1ee08f594b023245db87a4.tar.bz2 linux-d40c4d46eaa2295b5d1ee08f594b023245db87a4.zip |
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 <fabf@skynet.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions