bh->b_rdev==0 ??

Vladimir Dergachev (vladimid@seas.upenn.edu)
Wed, 19 Aug 1998 19:37:08 -0400 (EDT)


Question:

Is it true there are no devices with kdev_t number equal to 0 ?

I am looking over contents of lru_list and there are a lot of
buffer_head's with both b_rdev and b_rsector equal to 0.

I tried using (bh->b_dev!=B_FREE) to test whether it contains
some data but it doesn't work (probably bc B_FREE=0xffff).

Or should I use (bh->b_count) instead ?

thanks

Vladimir Dergachev

-
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.altern.org/andrebalsa/doc/lkml-faq.html