summaryrefslogtreecommitdiffstats
path: root/sound/i2c/i2c.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-03-07 04:50:22 +0000
committerBen Myers <bpm@sgi.com>2012-03-15 14:54:23 -0500
commitf074211f6041305b645669464343d504f4e6a290 (patch)
tree2fd1678c72b47683e25f69e247dfecaec79e477b /sound/i2c/i2c.c
parentad650f5b27bc9858360b42aaa0d9204d16115316 (diff)
downloadlinux-f074211f6041305b645669464343d504f4e6a290.tar.gz
linux-f074211f6041305b645669464343d504f4e6a290.tar.bz2
linux-f074211f6041305b645669464343d504f4e6a290.zip
xfs: fallback to vmalloc for large buffers in xfs_getbmap
xfs_getbmap uses for a large buffer for extents, which is kmalloc'd. This can fail after the system has been running for some time as it is a high order allocation. Add a fallback to vmalloc so that it doesn't require contiguous memory and so won't randomly fail on files with large extent lists. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'sound/i2c/i2c.c')
0 files changed, 0 insertions, 0 deletions