]> Pileus Git - ~andy/linux/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)
commit9206c561554c948111d3cf6fc563a0beaaf790b3
tree0ae1b0bd79963fb9bc3b608581f9b5d6ad6d9efd
parentdd1f723bf56bd96efc9d90e9e60dc511c79de48f
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