xfs: remove xfs_iunlock_map_shared
We can just use xfs_iunlock without any loss of clarity. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
committed by
Ben Myers
parent
30ba7ad543
commit
01f4f32775
@ -1294,7 +1294,7 @@ out:
|
||||
offset = vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
|
||||
|
||||
out_unlock:
|
||||
xfs_iunlock_map_shared(ip, lock);
|
||||
xfs_iunlock(ip, lock);
|
||||
|
||||
if (error)
|
||||
return -error;
|
||||
@ -1402,7 +1402,7 @@ out:
|
||||
offset = vfs_setpos(file, offset, inode->i_sb->s_maxbytes);
|
||||
|
||||
out_unlock:
|
||||
xfs_iunlock_map_shared(ip, lock);
|
||||
xfs_iunlock(ip, lock);
|
||||
|
||||
if (error)
|
||||
return -error;
|
||||
|
Reference in New Issue
Block a user