The block count on a directory can get out of date when we expand it so
that it uses more blocks. The size and link count were correct, but the
block count was wedged unless the inode got re-read from disk.
Date: Mon Jun 25 13:12:14 PDT 2001
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:97629a
linux/fs/xfs/xfs_vnodeops.c - 1.505
- reorder xfs_getattr a little so we can get the blockcount of a
directory
cheaply.
linux/fs/xfs/linux/xfs_iops.c - 1.110
- Add the count of blocks to the fields updated in a directory when we
do a directory op within it.
|