]> git.karo-electronics.de Git - karo-tx-linux.git/commit
track_chunk is always called with interrupts enabled. Consequently, we
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 24 Oct 2012 23:11:18 +0000 (10:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 24 Oct 2012 23:11:18 +0000 (10:11 +1100)
commitcee3685bb2d9a7ce21520f810d27030472f1077b
treef6f2a22b080589a12bc794b19b1282de99f3e1fc
parente13510f23409030157d06474c5559800cbec82a0
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>
drivers/md/dm-snap.c