mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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
@ -463,6 +463,8 @@ xfs_attr_list_int_ilocked(
|
|||||||
{
|
{
|
||||||
struct xfs_inode *dp = context->dp;
|
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.
|
* Decide on what work routines to call based on the inode size.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user