Question about ext2

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Fri, 25 Sep 1998 12:38:33 +0200


Hello.

When I was reading ext2 code I found out that ext2 calls ext2_discard_prealloc()
on each ext2_put_inode (that means on each iput). Wouldn't it be better
to call it only when inode -> i_count == 1 (that means on last iput)?

Bye, Honza.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/