ext4: do not use ext4_error() when there is no space in dir leaf for csum
authorTheodore Ts'o <tytso@mit.edu>
Sun, 11 Nov 2012 03:20:05 +0000 (22:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Nov 2012 03:20:05 +0000 (22:20 -0500)
commitdffe9d8da715bed4d395883add90a2d150d85729
tree9619eb91c75b118fa3910147c43d7cc46807cf4f
parentc8c0df241cc2719b1262e627f999638411934f60
ext4: do not use ext4_error() when there is no space in dir leaf for csum

If there is no space for a checksum in a directory leaf node,
previously we would use EXT4_ERROR_INODE() which would mark the file
system as inconsistent.  While it would be nice to use e2fsck -D, it
certainly isn't required, so just print a warning using
ext4_warning().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
fs/ext4/namei.c