---
name: "jbd2_journal_check_used_features"
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/jbd2_journal_check_used_features"
---

# jbd2\_journal\_check\_used\_features(9)

Check if features specified are used.

## NAME

jbd2\_journal\_check\_used\_features - Check if features specified are used.

## SYNOPSIS

**int jbd2\_journal\_check\_used\_features(journal\_t \*** *journal***, unsigned long** *compat***, unsigned long** *ro***, unsigned long** *incompat***);**

## ARGUMENTS

*journal*

Journal to check.

*compat*

bitmask of compatible features

*ro*

bitmask of features that force read-only mount

*incompat*

bitmask of incompatible features

## DESCRIPTION

Check whether the journal uses all of a given set of features. Return true (non-zero) if it does.

## AUTHORS

**Roger Gammans** \<rgammans@computer-surgery.co.uk\>

Author.

**Stephen Tweedie** \<sct@redhat.com\>

Author.

## COPYRIGHT
