commit | 226ba972b0863783ad377f741f6ff0538f31ab00 | [log] [tgz] |
---|---|---|
author | Tao Ma <boyu.mt@taobao.com> | Mon Dec 10 14:05:58 2012 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Dec 10 14:05:58 2012 -0500 |
tree | 72e089868a0856a1968d6118e359d0ae13f5cc91 | |
parent | a774f9c20e08643fc0e6c48b0419ad7657ed0c04 [diff] |
ext4: refactor __ext4_check_dir_entry() to accept start and size The __ext4_check_dir_entry() function() is used to check whether the de is over the block boundary. Now with inline data, it could be within the block boundary while exceeds the inode size. So check this function to check the overflow more precisely. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>