]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ext4/ext4.h
ext4: improve warning directory handling messages
authorAndreas Dilger <adilger@dilger.ca>
Mon, 15 Jun 2015 18:50:26 +0000 (14:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Jun 2015 18:50:26 +0000 (14:50 -0400)
commitb03a2f7eb21cc06b541142684abf7eed6aaccf3e
tree0d16b5c10f1cb7228febb67e37b86ef1aabbc1d6
parent6f6a6fda294506dfe0e3e0a253bb2d2923f28f0a
ext4: improve warning directory handling messages

Several ext4_warning() messages in the directory handling code do not
report the inode number of the (potentially corrupt) directory where a
problem is seen, and others report this in an ad-hoc manner.  Add an
ext4_warning_inode() helper to print the inode number and command name
consistent with ext4_error_inode().

Consolidate the place in ext4.h that these macros are defined.

Clean up some other directory error and warning messages to print the
calling function name.

Minor code style fixes in nearby lines.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/namei.c
fs/ext4/super.c