summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
authorMitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>2012-01-27 06:37:26 +0000
committerBen Myers <bpm@sgi.com>2012-01-31 12:11:18 -0600
commit4505360376637832f79f84f352588b0a045ad113 (patch)
treed0b00507b1d1c19684cddf402d995599a2e5cbef /drivers/ata/libata-sff.c
parent9b025eb3a89e041bab6698e3858706be2385d692 (diff)
downloadblackbird-op-linux-4505360376637832f79f84f352588b0a045ad113.tar.gz
blackbird-op-linux-4505360376637832f79f84f352588b0a045ad113.zip
xfs: pass KM_SLEEP flag to kmem_realloc() in xlog_recover_add_to_cnt_trans()
The kmem_realloc() in xfs is given KM_* memory allocation flags. And it allocates memory using kmalloc() after they are converted to gfp_mask flags. In xlog_recover_add_to_cont_trans(), 0u is passed to kmem_realloc(), instead of them. I guess it is preferred to use them, and here memory must be allocated but don't have to be done with GFP_ATOMIC. So, this patch changes it to KM_SLEEP. Signed-off-by: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com> Cc: Ben Myers <bpm@sgi.com> Cc: Alex Elder <elder@kernel.org> Cc: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'drivers/ata/libata-sff.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud