mirror_zfs/include/linux
Brian Behlendorf 2b7ab9d4d9 Linux 2.6.26 compat, lookup_bdev()
It's doubtful many people were impacted by this but commit 6c28567
accidentally broke ZFS builds for 2.6.26 and earlier kernels.  This
commit depends on the lookup_bdev() function which exists in 2.6.26
but wasn't exported until 2.6.27.

The availability of the function isn't critical so a wrapper is
introduced which returns ERR_PTR(-ENOTSUP) when the function isn't
defined.  This will have the effect of causing zvol_is_zvol() to
always fail for 2.6.26 kernels.  This in turn means vdevs will
always get opened concurrently which is good for normal usage.
This will only become an issue if your using a zvol as a vdev in
another pool.  In which case you really should be using a newer
kernel anyway.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1205
2013-01-28 15:35:00 -08:00
..
blkdev_compat.h Linux 2.6.26 compat, lookup_bdev() 2013-01-28 15:35:00 -08:00
dcache_compat.h Add d_clear_d_op() compatibility 2013-01-23 16:33:29 -08:00
Makefile.am Add the release component to headers 2012-01-18 12:19:47 -08:00
vfs_compat.h Fix 'zfs rollback' on mounted file systems 2013-01-17 09:51:20 -08:00
xattr_compat.h Linux compat 2.6.39: security_inode_init_security() 2011-07-01 12:40:08 -07:00