]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_attr_list.c
Merge tag 'kvm-4.13-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[karo-tx-linux.git] / fs / xfs / xfs_attr_list.c
index 545eca508d42f51fdb0251ca29755c977bcd3b8e..7740c8a5e7369de93caa93cabed20745ad35d6f5 100644 (file)
@@ -463,6 +463,8 @@ xfs_attr_list_int_ilocked(
 {
        struct xfs_inode                *dp = context->dp;
 
+       ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL));
+
        /*
         * Decide on what work routines to call based on the inode size.
         */