]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-enable-linux-flock-20080324
authorDerrick Brashear <shadow@dementia.org>
Mon, 24 Mar 2008 20:46:40 +0000 (20:46 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 24 Mar 2008 20:46:40 +0000 (20:46 +0000)
LICENSE IPL10
FIXES 53457

enable flock again in 1.4; it's been on without complaint in 1.5 since the original ticket was filed

acinclude.m4

index aed68b06667beefb78dbcdbb8ffacef7fb893d04..20801b0c55bfe2778d9142ada376c8bc1ffb02ef 100644 (file)
@@ -884,7 +884,7 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                  AC_DEFINE(INIT_WORK_HAS_DATA, 1, [define if INIT_WORK takes a data (3rd) argument])
                 fi
                 if test "x$ac_cv_linux_fs_struct_fop_has_flock" = "xyes" ; then
-                 echo flock support is currently disabled in OpenAFS 1.4 for Linux
+                 AC_DEFINE(STRUCT_FILE_OPERATIONS_HAS_FLOCK, 1, [define if your struct file_operations has flock])
                 fi
                 if test "x$ac_cv_linux_fs_struct_fop_has_sendfile" = "xyes" ; then
                  AC_DEFINE(STRUCT_FILE_OPERATIONS_HAS_SENDFILE, 1, [define if your struct file_operations has sendfile])