diff options
Diffstat (limited to 'fs/ocfs2/file.c')
| -rw-r--r-- | fs/ocfs2/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index e8514e8b6ce8..ec2ed15c3daa 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
| @@ -1176,7 +1176,7 @@ bail: | |||
| 1176 | return err; | 1176 | return err; |
| 1177 | } | 1177 | } |
| 1178 | 1178 | ||
| 1179 | int ocfs2_permission(struct inode *inode, int mask, struct nameidata *nd) | 1179 | int ocfs2_permission(struct inode *inode, int mask) |
| 1180 | { | 1180 | { |
| 1181 | int ret; | 1181 | int ret; |
| 1182 | 1182 | ||
| @@ -1766,8 +1766,8 @@ out_inode_unlock: | |||
| 1766 | out_rw_unlock: | 1766 | out_rw_unlock: |
| 1767 | ocfs2_rw_unlock(inode, 1); | 1767 | ocfs2_rw_unlock(inode, 1); |
| 1768 | 1768 | ||
| 1769 | mutex_unlock(&inode->i_mutex); | ||
| 1770 | out: | 1769 | out: |
| 1770 | mutex_unlock(&inode->i_mutex); | ||
| 1771 | return ret; | 1771 | return ret; |
| 1772 | } | 1772 | } |
| 1773 | 1773 | ||
