diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-06 21:30:08 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-12-18 22:38:57 +0100 |
commit | 01f4f3277556d4f4f833371db0219b0ca11c5409 (patch) | |
tree | 393ca8f6130a12c5a64e4d5ab42a907f60fb9847 /fs/xfs/xfs_file.c | |
parent | xfs: no need to lock the inode in xfs_find_handle (diff) | |
download | linux-01f4f3277556d4f4f833371db0219b0ca11c5409.tar.xz linux-01f4f3277556d4f4f833371db0219b0ca11c5409.zip |
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; |