slub: fix a possible memory leak

Memory allocated by kstrdup should be freed,
when kmalloc(kmem_size, GFP_KERNEL) is failed.

Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
(cherry picked from commit 493ecafaf313a8bc7706f3b3180ba9d38a07141c)
block: separate priority boosting from REQ_META

Add a new REQ_PRIO to let requests preempt others in the cfq I/O schedule,
and lave REQ_META purely for marking requests as metadata in blktrace.

All existing callers of REQ_META except for XFS are updated to also
set REQ_PRIO for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
(cherry picked from commit 65299a3b788bd274bed92f9fa3232082c9f3ea70)

Conflicts:
	fs/ext3/inode.c
	fs/ext3/namei.c
	fs/ext4/inode.c
	fs/ext4/namei.c
	fs/gfs2/quota.c
ASoC: wm8994: Only enable extra BCLK cycles when required

Rather than always assuming the maximum possible BCLK rate will be
required generate BCLKs for stereo if either one or two channels is
enabled. In order to support this we also need to ensure that only
the relevant channels are enabled.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 79748cdb39dbf914bc5f26c75cfd5f91d84d82c9)
Merge branch 'try-3.1' into kernel-forward

* try-3.1:
  block: separate priority boosting from REQ_META
  slub: fix a possible memory leak