udf: Fix file entry logicalBlocksRecorded
authorSteve Nickel <snickel58@gmail.com>
Thu, 16 Feb 2012 17:53:53 +0000 (12:53 -0500)
committerJan Kara <jack@suse.cz>
Wed, 29 Feb 2012 20:53:47 +0000 (21:53 +0100)
commitb2527bfa535956d99663718b9d9aac0b8fe3f017
tree37eba8dd3eb3da3fbd95fe57a6b63a5866bfe147
parentfd4287dbc07763595c1e74edbb6520092290185c
udf: Fix file entry logicalBlocksRecorded

ECMA 1.67 requires setting logicalBlocksRecorded to zero if the file
has no extents. This should be checked in udf_update_inode().
udf_fill_inode() will then take care of itself.

Signed-off-by: Steven P. Nickel <snickel@focusinfo.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c