xfs: assert locking precondіtion in xfs_attr_list_int_ilocked
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
cf69f8248c
commit
5af7777e11
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue