linux-hardened/block
Pavel Emelyanov ba25f9dcc4 Use helpers to obtain task pid in printks
The task_struct->pid member is going to be deprecated, so start
using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in
the kernel.

The first thing to start with is the pid, printed to dmesg - in
this case we may safely use task_pid_nr(). Besides, printks produce
more (much more) than a half of all the explicit pid usage.

[akpm@linux-foundation.org: git-drm went and changed lots of stuff]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:43 -07:00
..
as-iosched.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
blktrace.c Convert cpu_sibling_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
bsg.c bsg: mark struct file_operations const 2007-10-16 09:59:54 +02:00
cfq-iosched.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
compat_ioctl.c compat_ioctl: move floppy handlers to block/compat_ioctl.c 2007-10-10 09:26:00 +02:00
deadline-iosched.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
elevator.c block: Initial support for data-less (or empty) barrier support 2007-10-16 11:03:56 +02:00
genhd.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
ioctl.c compat_ioctl: move common block ioctls to compat_blkdev_ioctl 2007-10-10 09:26:00 +02:00
Kconfig Only enable BLOCK_COMPAT if COMPAT is needed 2007-10-12 17:58:36 -07:00
Kconfig.iosched update I/O sched Kconfig help texts - CFQ is now default, not AS. 2007-02-17 20:08:22 +01:00
ll_rw_blk.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
Makefile [BLOCK] Only include the compat ioctl code if CONFIG_BLOCK is set 2007-10-12 12:50:41 +02:00
noop-iosched.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
scsi_ioctl.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00