]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/xfs/xfs_file.c
xfs: remove xfs_iunlock_map_shared
[mirror_ubuntu-artful-kernel.git] / fs / xfs / xfs_file.c
index 52c91e1437255c60d1f56041d4eceea4601f6265..349bfa28aa3d924676dad68212cfd2811fd948fc 100644 (file)
@@ -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;