summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-12-21 20:23:33 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:33 +0000
commit9aa0c0e60ffc2594acaad23127dbea9f3b61821c (patch)
tree4464d72c53cc977dea9ddf071ed8d88ee6c312d9 /drivers/md/bitmap.h
parent19cbbc60c680e2e404bf55458ad2c4ff60d16076 (diff)
downloadblackbird-op-linux-9aa0c0e60ffc2594acaad23127dbea9f3b61821c.tar.gz
blackbird-op-linux-9aa0c0e60ffc2594acaad23127dbea9f3b61821c.zip
dm snapshot: optimize track_chunk
track_chunk is always called with interrupts enabled. Consequently, we do not need to save and restore interrupt state in "flags" variable. This patch changes spin_lock_irqsave to spin_lock_irq and spin_unlock_irqrestore to spin_unlock_irq. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/bitmap.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud