main (void)
{
- fmode_t *ptr;
+ fmode_t *ptr __attribute__ ((unused));
;
return 0;
main (void)
{
- int val;
+ int val __attribute__ ((unused));
val = KOBJ_NAME_LEN;
;
main (void)
{
- struct block_device *bdev;
+ struct block_device *bdev = NULL;
invalidate_bdev(bdev);
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = (1 << BIO_RW_FAILFAST);
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = ((1 << BIO_RW_FAILFAST_DEV) |
(1 << BIO_RW_FAILFAST_TRANSPORT) |
(1 << BIO_RW_FAILFAST_DRIVER));
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = REQ_FAILFAST_MASK;
;
{
void (*wanted_end_io)(struct bio *, int) = NULL;
- bio_end_io_t *local_end_io;
+ bio_end_io_t *local_end_io __attribute__ ((unused));
local_end_io = wanted_end_io;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = BIO_RW_SYNC;
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = BIO_RW_SYNCIO;
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = REQ_SYNC;
;
main (void)
{
- struct super_block sb;
+ struct super_block sb __attribute__ ((unused));
sb.s_xattr = xattr_handlers;
int (*get)(struct dentry *dentry, const char *name,
void *buffer, size_t size, int handler_flags) = NULL;
- struct xattr_handler xops;
+ struct xattr_handler xops __attribute__ ((unused));
xops.get = get;
int (*set)(struct dentry *dentry, const char *name,
const void *buffer, size_t size, int flags,
int handler_flags) = NULL;
- struct xattr_handler xops;
+ struct xattr_handler xops __attribute__ ((unused));
xops.set = set;
{
int (*fsync) (struct file *, int datasync) = NULL;
- struct file_operations fops;
+ struct file_operations fops __attribute__ ((unused));
fops.fsync = fsync;
{
void (*evict_inode) (struct inode *) = NULL;
- struct super_operations sops;
+ struct super_operations sops __attribute__ ((unused));
sops.evict_inode = evict_inode;
- KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL"
+ KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-unused-but-set-variable"
+ KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL"
KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\""
main (void)
{
- fmode_t *ptr;
+ fmode_t *ptr __attribute__ ((unused));
;
return 0;
main (void)
{
- int val;
+ int val __attribute__ ((unused));
val = KOBJ_NAME_LEN;
;
main (void)
{
- struct block_device *bdev;
+ struct block_device *bdev = NULL;
invalidate_bdev(bdev);
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = (1 << BIO_RW_FAILFAST);
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = ((1 << BIO_RW_FAILFAST_DEV) |
(1 << BIO_RW_FAILFAST_TRANSPORT) |
(1 << BIO_RW_FAILFAST_DRIVER));
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = REQ_FAILFAST_MASK;
;
{
void (*wanted_end_io)(struct bio *, int) = NULL;
- bio_end_io_t *local_end_io;
+ bio_end_io_t *local_end_io __attribute__ ((unused));
local_end_io = wanted_end_io;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = BIO_RW_SYNC;
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = BIO_RW_SYNCIO;
;
main (void)
{
- int flags;
+ int flags __attribute__ ((unused));
flags = REQ_SYNC;
;
main (void)
{
- struct super_block sb;
+ struct super_block sb __attribute__ ((unused));
sb.s_xattr = xattr_handlers;
int (*get)(struct dentry *dentry, const char *name,
void *buffer, size_t size, int handler_flags) = NULL;
- struct xattr_handler xops;
+ struct xattr_handler xops __attribute__ ((unused));
xops.get = get;
int (*set)(struct dentry *dentry, const char *name,
const void *buffer, size_t size, int flags,
int handler_flags) = NULL;
- struct xattr_handler xops;
+ struct xattr_handler xops __attribute__ ((unused));
xops.set = set;
{
int (*fsync) (struct file *, int datasync) = NULL;
- struct file_operations fops;
+ struct file_operations fops __attribute__ ((unused));
fops.fsync = fsync;
{
void (*evict_inode) (struct inode *) = NULL;
- struct super_operations sops;
+ struct super_operations sops __attribute__ ((unused));
sops.evict_inode = evict_inode;
- KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL"
+ KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-unused-but-set-variable"
+ KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL"
KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\""
$as_echo "$enable_debug" >&6; }
-ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/init.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
+ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/udev/rules.d/60-zpool.rules etc/udev/rules.d/60-zvol.rules etc/init.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
cat >confcache <<\_ACEOF
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
"etc/udev/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/Makefile" ;;
"etc/udev/rules.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/rules.d/Makefile" ;;
+ "etc/udev/rules.d/60-zpool.rules") CONFIG_FILES="$CONFIG_FILES etc/udev/rules.d/60-zpool.rules" ;;
+ "etc/udev/rules.d/60-zvol.rules") CONFIG_FILES="$CONFIG_FILES etc/udev/rules.d/60-zvol.rules" ;;
"etc/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/init.d/Makefile" ;;
"etc/zfs/Makefile") CONFIG_FILES="$CONFIG_FILES etc/zfs/Makefile" ;;
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;