[q] inode->i_op->get_block(), when is create=1 and when 0?

From: Tigran Aivazian (tigran@sco.COM)
Date: Fri Feb 04 2000 - 03:52:31 EST


Hi,

I am trying to finish off the bfs_get_block() function and want to make
sure I understand correctly when create argument of get_block() method is
set to 1 and when to 0. Looking at fs/buffer.c and fs/inode.c it appears
that create=1 iff we write a buffer (as part of a page being written)
which is not uptodate (BH_Mapped is not set) and is 0 in all other cases.

Or is there a more complete formal definition that covers all cases?

Thanks,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

-
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/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:10 EST