]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: return non-zero st_blocks for inline data
authorAndreas Dilger <andreas.dilger@intel.com>
Tue, 12 Nov 2013 03:38:12 +0000 (22:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 12 Nov 2013 03:38:12 +0000 (22:38 -0500)
commitdca47e9b434bb107298129038699544e951a225b
tree0ae1b0bd79963fb9bc3b608581f9b5d6ad6d9efd
parentb601c3a8e21f457d0c22113d6d161cf0d529d15c
ext4: return non-zero st_blocks for inline data

Return a non-zero st_blocks to userspace for statfs() and friends.
Some versions of tar will assume that files with st_blocks == 0
do not contain any data and will skip reading them entirely.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c