]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita26a1a49727cfd18fc4eae0161c71d330b5bf810
tree0d16b5c10f1cb7228febb67e37b86ef1aabbc1d6
parentcc26a15d392ca26cdb63e810cfc51a0ac052b986
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