JFS: Add back directory i_size calculations for legacy partitions
commitdd8a306ac0c918268bd2ae89da2dea627f6e352d
authorDave Kleikamp <shaggy@austin.ibm.com>
Thu, 10 Nov 2005 13:50:03 +0000 (10 07:50 -0600)
committerDave Kleikamp <shaggy@austin.ibm.com>
Thu, 10 Nov 2005 13:50:03 +0000 (10 07:50 -0600)
treee3f2c244505931d93b09f7d314014cf3832b0176
parent3b44f137b9a846c5452d9e6e1271b79b1dbcc942
JFS: Add back directory i_size calculations for legacy partitions

Linux-formatted jfs partitions have a different idea about what i_size
represents than partitions formatted on OS/2.  The i_size calculation is
now based on the size of the directory index.  For legacy partitions, which
have no directory index, the i_size is never being updated.

This patch adds back the original i_size calculations for legacy partitions.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_dtree.c