---
name: "bh_uptodate_or_lock"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/bh_uptodate_or_lock"
---

# bh\_uptodate\_or\_lock(9)

Test whether the buffer is uptodate

## NAME

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
