diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-07 00:30:08 +0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-12-19 01:38:57 +0400 |
commit | 01f4f3277556d4f4f833371db0219b0ca11c5409 (patch) | |
tree | 393ca8f6130a12c5a64e4d5ab42a907f60fb9847 /fs/xfs/xfs_file.c | |
parent | 30ba7ad54335e4715d3cc9cc8f43cbf1b3535e46 (diff) | |
download | linux-01f4f3277556d4f4f833371db0219b0ca11c5409.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 52c91e143725..349bfa28aa3d 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -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; |