aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-05-11 15:04:09 +0000
committerAlex Elder <aelder@sgi.com>2011-05-25 10:48:37 -0500
commitf1c63b73cf60dc4800cde5ce7fd9466c419e5e36 (patch)
treedf9250617bbf4e7521c9b25a2d7b3a0ffb09c969 /lib/flex_array.c
parentxfs: do not use unchecked extent indices in xfs_bunmapi (diff)
downloadwireguard-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