Whamcloud - gitweb
Set a flag in the inode if we have stored the objid there, so we know when
authoradilger <adilger>
Fri, 29 Mar 2002 12:02:00 +0000 (12:02 +0000)
committeradilger <adilger>
Fri, 29 Mar 2002 12:02:00 +0000 (12:02 +0000)
commitc1e963d3f9f0043392638aca62b04b275b52bad6
treec41f1ece8cc0adfc3f30b931bcc16f213e3022fc
parentfee01c5ce5153f1e59a2e2e48a91e50b50507b41
Set a flag in the inode if we have stored the objid there, so we know when
we should clear it.   Also make clear_inode() the default cl_delete_inode
method so we don't have to do an extra check for it.

In the end, I think that the objid issue is not a source of any problems,
because ext3_delete() will only call ext3_truncate() if i_blocks is non-zero,
and it isn't (this is why we weren't seeing any errors from ext3 trying to
truncate "blocks" that are not allocated).
lustre/mds/mds_ext2.c
lustre/mds/mds_ext3.c