'\" t .\" Title: bdev_dax_supported .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BDEV_DAX_SUPPORTED" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" bdev_dax_supported \- Check if the device supports dax for filesystem .SH "SYNOPSIS" .HP \w'int\ bdev_dax_supported('u .BI "int bdev_dax_supported(struct\ super_block\ *\ " "sb" ", int\ " "blocksize" ");" .SH "ARGUMENTS" .PP \fIsb\fR .RS 4 The superblock of the device .RE .PP \fIblocksize\fR .RS 4 The block size of the device .RE .SH "DESCRIPTION" .PP This is a library function for filesystems to check if the block device can be mounted with dax option\&. .SH "RETURN" .PP negative errno if unsupported, 0 if supported\&. .SH "COPYRIGHT" .br