]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 349034 - Add Lustre ioctls LL_IOC_GROUP_LOCK and LL_IOC_GROUP_UNLOCK
authorJulian Seward <jseward@acm.org>
Fri, 14 Aug 2015 08:05:35 +0000 (08:05 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 14 Aug 2015 08:05:35 +0000 (08:05 +0000)
Patch from Frank Zago (fzago@cray.com)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15541

coregrind/m_syswrap/syswrap-linux.c
include/vki/vki-linux.h

index d036ae75bfe7ad45df1e1bc834d22423a1685579..6fd0d8376c7fb9a39e9780d910cc692685d03c90 100644 (file)
@@ -5550,6 +5550,10 @@ PRE(sys_ioctl)
    /* InfiniBand */
    case VKI_IB_USER_MAD_ENABLE_PKEY:
 
+   /* Lustre */
+   case VKI_LL_IOC_GROUP_LOCK:
+   case VKI_LL_IOC_GROUP_UNLOCK:
+
    /* V4L2 */
    case VKI_V4L2_LOG_STATUS:
 
index 82d733bd2e6fb88c40f2a2029f1bf3cd13c8c8da..4ede25c7d6005a6798a3192ebec9c45b3ba2dead 100644 (file)
@@ -3692,6 +3692,10 @@ struct vki_getparent {
 //----------------------------------------------------------------------
 // From Lustre's lustre/include/lustre/lustre_user.h
 //----------------------------------------------------------------------
+#define VKI_LL_IOC_GROUP_LOCK \
+           _VKI_IOW('f', 158, long)
+#define VKI_LL_IOC_GROUP_UNLOCK \
+           _VKI_IOW('f', 159, long)
 #define VKI_LL_IOC_GETPARENT \
            _VKI_IOWR('f', 249, struct vki_getparent)