summaryrefslogtreecommitdiff
path: root/debian/cscope.emacsen-remove
blob: 2feafacd82146d3f25d968701bafca9c512a4098 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

FLAVOUR=$1
PACKAGE=cscope
ELCFILE=xcscope.el

if [ $FLAVOUR != emacs ]; then
	echo "remove/$PACKAGE: Purging byte-compiled files for $FLAVOUR"
	rm -f /usr/share/$FLAVOUR/site-lisp/$ELCFILE
fi
e='1'>ssdiff
authorWeijie Yang <weijie.yang@samsung.com>2015-06-10 11:14:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-10 16:43:43 -0700
commitd7ad41a1c498729b7584c257710b1b437a0c1470 (patch)
tree9ec97b27b4c5022d7d166bc1cc21240e799f3fe9 /drivers/block
parent7d638093d4b0e9ef15bd78f38f11f126e773cc14 (diff)
zram: clear disk io accounting when reset zram device
Clear zram disk io accounting when resetting the zram device. Otherwise the residual io accounting stat will affect the diskstat in the next zram active cycle. Signed-off-by: Weijie Yang <weijie.yang@samsung.com> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/zram/zram_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c