Linux 3.2 compat: set_nlink()
Directly changing inode->i_nlink is deprecated in Linux 3.2 by commit SHA: bfe8684869601dacfcb2cd69ef8cfd9045f62170 Use the new set_nlink() kernel function instead. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes: #462
This commit is contained in:
parent
e6101ea87f
commit
28eb9213d8
|
@ -91,6 +91,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -71,6 +71,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
dnl #
|
||||||
|
dnl # Linux v3.2-rc1 API change
|
||||||
|
dnl # SHA: bfe8684869601dacfcb2cd69ef8cfd9045f62170
|
||||||
|
dnl #
|
||||||
|
AC_DEFUN([ZFS_AC_KERNEL_SET_NLINK], [
|
||||||
|
AC_MSG_CHECKING([whether set_nlink() is available])
|
||||||
|
ZFS_LINUX_TRY_COMPILE([
|
||||||
|
#include <linux/fs.h>
|
||||||
|
],[
|
||||||
|
struct inode node;
|
||||||
|
unsigned int link = 0;
|
||||||
|
(void) set_nlink(&node, link);
|
||||||
|
],[
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(HAVE_SET_NLINK, 1,
|
||||||
|
[set_nlink() is available])
|
||||||
|
],[
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
])
|
||||||
|
])
|
|
@ -42,6 +42,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [
|
||||||
ZFS_AC_KERNEL_MOUNT_NODEV
|
ZFS_AC_KERNEL_MOUNT_NODEV
|
||||||
ZFS_AC_KERNEL_BDI
|
ZFS_AC_KERNEL_BDI
|
||||||
ZFS_AC_KERNEL_BDI_SETUP_AND_REGISTER
|
ZFS_AC_KERNEL_BDI_SETUP_AND_REGISTER
|
||||||
|
ZFS_AC_KERNEL_SET_NLINK
|
||||||
|
|
||||||
AS_IF([test "$LINUX_OBJ" != "$LINUX"], [
|
AS_IF([test "$LINUX_OBJ" != "$LINUX"], [
|
||||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
||||||
|
|
|
@ -15226,6 +15226,73 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: checking whether set_nlink() is available" >&5
|
||||||
|
$as_echo_n "checking whether set_nlink() is available... " >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.c
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
|
||||||
|
|
||||||
|
#include <linux/fs.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main (void)
|
||||||
|
{
|
||||||
|
|
||||||
|
struct inode node;
|
||||||
|
unsigned int link = 0;
|
||||||
|
(void) set_nlink(&node, link);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
rm -Rf build && mkdir -p build
|
||||||
|
echo "obj-m := conftest.o" >build/Makefile
|
||||||
|
if { ac_try='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } >/dev/null && { ac_try='test -s build/conftest.o'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
||||||
|
$as_echo "yes" >&6; }
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define HAVE_SET_NLINK 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
$as_echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
$as_echo "no" >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -Rf build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$LINUX_OBJ" != "$LINUX"; then
|
if test "$LINUX_OBJ" != "$LINUX"; then
|
||||||
|
|
||||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
||||||
|
@ -19996,6 +20063,73 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: checking whether set_nlink() is available" >&5
|
||||||
|
$as_echo_n "checking whether set_nlink() is available... " >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.c
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
|
/* end confdefs.h. */
|
||||||
|
|
||||||
|
|
||||||
|
#include <linux/fs.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main (void)
|
||||||
|
{
|
||||||
|
|
||||||
|
struct inode node;
|
||||||
|
unsigned int link = 0;
|
||||||
|
(void) set_nlink(&node, link);
|
||||||
|
|
||||||
|
;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
rm -Rf build && mkdir -p build
|
||||||
|
echo "obj-m := conftest.o" >build/Makefile
|
||||||
|
if { ac_try='cp conftest.c build && make modules -C $LINUX_OBJ EXTRA_CFLAGS="-Werror-implicit-function-declaration $EXTRA_KCFLAGS" $ARCH_UM M=$PWD/build'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; } >/dev/null && { ac_try='test -s build/conftest.o'
|
||||||
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
|
(eval $ac_try) 2>&5
|
||||||
|
ac_status=$?
|
||||||
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
|
(exit $ac_status); }; }; then
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
||||||
|
$as_echo "yes" >&6; }
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define HAVE_SET_NLINK 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
$as_echo "$as_me: failed program was:" >&5
|
||||||
|
sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
$as_echo "no" >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -Rf build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$LINUX_OBJ" != "$LINUX"; then
|
if test "$LINUX_OBJ" != "$LINUX"; then
|
||||||
|
|
||||||
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ"
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -94,4 +94,19 @@ bdi_setup_and_register(struct backing_dev_info *bdi,char *name,unsigned int cap)
|
||||||
}
|
}
|
||||||
#endif /* HAVE_BDI && !HAVE_BDI_SETUP_AND_REGISTER */
|
#endif /* HAVE_BDI && !HAVE_BDI_SETUP_AND_REGISTER */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 3.2-rc1 API change,
|
||||||
|
* Add set_nlink() if it is not exported by the Linux kernel.
|
||||||
|
*
|
||||||
|
* i_nlink is read-only in Linux 3.2, but it can be set directly in
|
||||||
|
* earlier kernels.
|
||||||
|
*/
|
||||||
|
#ifndef HAVE_SET_NLINK
|
||||||
|
static inline void
|
||||||
|
set_nlink(struct inode *inode, unsigned int nlink)
|
||||||
|
{
|
||||||
|
inode->i_nlink = nlink;
|
||||||
|
}
|
||||||
|
#endif /* HAVE_SET_NLINK */
|
||||||
|
|
||||||
#endif /* _ZFS_VFS_H */
|
#endif /* _ZFS_VFS_H */
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -70,6 +70,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -440,7 +440,7 @@ zfs_inode_update(znode_t *zp)
|
||||||
ip->i_generation = zp->z_gen;
|
ip->i_generation = zp->z_gen;
|
||||||
ip->i_uid = zp->z_uid;
|
ip->i_uid = zp->z_uid;
|
||||||
ip->i_gid = zp->z_gid;
|
ip->i_gid = zp->z_gid;
|
||||||
ip->i_nlink = zp->z_links;
|
set_nlink(ip, zp->z_links);
|
||||||
ip->i_mode = zp->z_mode;
|
ip->i_mode = zp->z_mode;
|
||||||
ip->i_blkbits = SPA_MINBLOCKSHIFT;
|
ip->i_blkbits = SPA_MINBLOCKSHIFT;
|
||||||
dmu_object_size_from_db(sa_get_db(zp->z_sa_hdl), &blksize,
|
dmu_object_size_from_db(sa_get_db(zp->z_sa_hdl), &blksize,
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -68,6 +68,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -69,6 +69,7 @@ am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
$(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
|
||||||
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
$(top_srcdir)/config/kernel-rq-is_sync.m4 \
|
||||||
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
$(top_srcdir)/config/kernel-security-inode-init.m4 \
|
||||||
|
$(top_srcdir)/config/kernel-set-nlink.m4 \
|
||||||
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
$(top_srcdir)/config/kernel-truncate-setsize.m4 \
|
||||||
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
$(top_srcdir)/config/kernel-xattr-handler.m4 \
|
||||||
$(top_srcdir)/config/kernel.m4 \
|
$(top_srcdir)/config/kernel.m4 \
|
||||||
|
|
|
@ -153,6 +153,9 @@
|
||||||
/* rq_is_sync() is available */
|
/* rq_is_sync() is available */
|
||||||
#undef HAVE_RQ_IS_SYNC
|
#undef HAVE_RQ_IS_SYNC
|
||||||
|
|
||||||
|
/* set_nlink() is available */
|
||||||
|
#undef HAVE_SET_NLINK
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue