SysTutorials

Linux Manual Pages › Section 9

bh_uptodate_or_lock(9)

bh_uptodate_or_lock - Test whether the buffer is uptodate

Synopsis

int bh_uptodate_or_lock(struct buffer_head *bh);

Arguments

bh

struct buffer_head

Description

Return true if the buffer is up-to-date and false, with the buffer locked, if not.

Copyright