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/nilfs2/alloc.c | |
parent | adbd319e5ae90b346e6dbb692862318faa7a7808 (diff) |
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/nilfs2/alloc.c')
0 files changed, 0 insertions, 0 deletions