]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/xfs/xfs_attr_list.c
UBUNTU: Ubuntu-4.13.0-45.50
[mirror_ubuntu-artful-kernel.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.
         */