]> git.proxmox.com Git - mirror_spl.git/commit
Linux 3.1 compat, vfs_fsync()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Nov 2011 20:45:35 +0000 (12:45 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Nov 2011 03:36:21 +0000 (19:36 -0800)
commit0d0b523728b348b2d762fd9b27511ed9b138607b
tree0cce0407fbb877f06e6aba098d47f27c8084324f
parent12ff95ff579d0203790aff69632c7ab12ce56140
Linux 3.1 compat, vfs_fsync()

Preferentially use the vfs_fsync() function.  This function was
initially introduced in 2.6.29 and took three arguments.  As
of 2.6.35 the dentry argument was dropped from the function.
For older kernels fall back to using file_fsync() which also
took three arguments including the dentry.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #52
config/spl-build.m4
configure
include/linux/file_compat.h
spl_config.h.in