diff options
author | Ben Myers <bpm@sgi.com> | 2014-01-09 17:03:18 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2014-01-09 17:03:18 -0500 |
commit | bf3964c188d686424ff7b69a45941851b9f437f0 (patch) | |
tree | df67c636a6c0aa9f5369a335e1aa9d37d992bd85 /fs/xfs/xfs_inode.h | |
parent | dc16b186bb12c479b6a88bc280b34806a69199ad (diff) | |
parent | eef334e5776c8ef547ada4cec17549929fe590b4 (diff) |
Merge branch 'xfs-extent-list-locking-fixes' into for-next
A set of fixes which makes sure we are taking the ilock whenever accessing the
extent list. This was associated with "Access to block zero" messages which
may result in extent list corruption.
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 9e6efccbae04..65e2350f449c 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -337,8 +337,8 @@ int xfs_ilock_nowait(xfs_inode_t *, uint); | |||
337 | void xfs_iunlock(xfs_inode_t *, uint); | 337 | void xfs_iunlock(xfs_inode_t *, uint); |
338 | void xfs_ilock_demote(xfs_inode_t *, uint); | 338 | void xfs_ilock_demote(xfs_inode_t *, uint); |
339 | int xfs_isilocked(xfs_inode_t *, uint); | 339 | int xfs_isilocked(xfs_inode_t *, uint); |
340 | uint xfs_ilock_map_shared(xfs_inode_t *); | 340 | uint xfs_ilock_data_map_shared(struct xfs_inode *); |
341 | void xfs_iunlock_map_shared(xfs_inode_t *, uint); | 341 | uint xfs_ilock_attr_map_shared(struct xfs_inode *); |
342 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, | 342 | int xfs_ialloc(struct xfs_trans *, xfs_inode_t *, umode_t, |
343 | xfs_nlink_t, xfs_dev_t, prid_t, int, | 343 | xfs_nlink_t, xfs_dev_t, prid_t, int, |
344 | struct xfs_buf **, xfs_inode_t **); | 344 | struct xfs_buf **, xfs_inode_t **); |