> if (!buffer_uptodate(new))
> wait_on_buffer(new);
if I know apriori that the "new" buffer could never had any io on it,
because it is not a data block of any inode, it is completely free.
Having said that, I don't know what happens if one does "cat < /dev/hda1",
this may have generated some io on this block so perhaps I should do as
you have said?
Regards,
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/