diff options
author | 2011-05-11 15:04:09 +0000 | |
---|---|---|
committer | 2011-05-25 10:48:37 -0500 | |
commit | f1c63b73cf60dc4800cde5ce7fd9466c419e5e36 (patch) | |
tree | df9250617bbf4e7521c9b25a2d7b3a0ffb09c969 /lib/flex_array.c | |
parent | xfs: do not use unchecked extent indices in xfs_bunmapi (diff) | |
download | wireguard-linux-f1c63b73cf60dc4800cde5ce7fd9466c419e5e36.tar.xz wireguard-linux-f1c63b73cf60dc4800cde5ce7fd9466c419e5e36.zip |
xfs: do not do pointer arithmetic on extent records
We need to call xfs_iext_get_ext for the previous extent to get a
valid pointer, and can't just do pointer arithmetics as they might
be in different pages.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions