aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index da3c94c230db..7894b72a7177 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -1031,6 +1031,6 @@ xfs_iflock_nowait(xfs_inode_t *ip)
1031void 1031void
1032xfs_ifunlock(xfs_inode_t *ip) 1032xfs_ifunlock(xfs_inode_t *ip)
1033{ 1033{
1034 ASSERT(valusema(&(ip->i_flock)) <= 0); 1034 ASSERT(issemalocked(&(ip->i_flock)));
1035 vsema(&(ip->i_flock)); 1035 vsema(&(ip->i_flock));
1036} 1036}