]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
procfs: new helper - PDE_DATA(inode)
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Mar 2013 22:16:14 +0000 (18:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:32 +0000 (14:13 -0400)
commitd9dda78bad879595d8c4220a067fc029d6484a16
tree376c47ed566b719009e753e917104b150a639b11
parent8510e30b46cd5467b2f930bef68a276dbc2c7d7c
procfs: new helper - PDE_DATA(inode)

The only part of proc_dir_entry the code outside of fs/proc
really cares about is PDE(inode)->data.  Provide a helper
for that; static inline for now, eventually will be moved
to fs/proc, along with the knowledge of struct proc_dir_entry
layout.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
95 files changed:
arch/alpha/kernel/srm_env.c
arch/arm/kernel/atags_proc.c
arch/blackfin/kernel/cplbinfo.c
arch/ia64/kernel/salinfo.c
arch/mips/lasat/picvue_proc.c
arch/powerpc/kernel/proc_powerpc.c
arch/powerpc/platforms/pseries/scanlog.c
arch/sh/mm/alignment.c
arch/sparc/kernel/ioport.c
arch/tile/kernel/hardwall.c
arch/xtensa/platforms/iss/simdisk.c
drivers/acpi/ac.c
drivers/acpi/battery.c
drivers/acpi/button.c
drivers/acpi/proc.c
drivers/acpi/sbs.c
drivers/block/DAC960.c
drivers/block/cciss.c
drivers/block/cpqarray.c
drivers/block/drbd/drbd_proc.c
drivers/block/pktcdvd.c
drivers/block/ps3vram.c
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c
drivers/gpu/drm/drm_proc.c
drivers/ide/ide-cd.c
drivers/ide/ide-disk_proc.c
drivers/ide/ide-floppy_proc.c
drivers/ide/ide-proc.c
drivers/ide/ide-tape.c
drivers/isdn/gigaset/capi.c
drivers/isdn/hardware/avm/b1.c
drivers/isdn/hardware/avm/b1dma.c
drivers/isdn/hardware/avm/c4.c
drivers/isdn/hardware/eicon/divasproc.c
drivers/isdn/hysdn/hycapi.c
drivers/isdn/hysdn/hysdn_procconf.c
drivers/isdn/hysdn/hysdn_proclog.c
drivers/macintosh/via-pmu.c
drivers/media/pci/zoran/zoran_procfs.c
drivers/message/fusion/mptbase.c
drivers/message/i2o/i2o_proc.c
drivers/net/bonding/bond_procfs.c
drivers/net/irda/vlsi_ir.c
drivers/net/wireless/airo.c
drivers/net/wireless/ray_cs.c
drivers/parisc/led.c
drivers/pci/proc.c
drivers/platform/x86/thinkpad_acpi.c
drivers/platform/x86/toshiba_acpi.c
drivers/pnp/isapnp/proc.c
drivers/pnp/pnpbios/proc.c
drivers/rtc/rtc-proc.c
drivers/scsi/scsi_proc.c
drivers/staging/ccg/rndis.c
drivers/staging/dgrp/dgrp_dpa_ops.c
drivers/staging/dgrp/dgrp_mon_ops.c
drivers/staging/dgrp/dgrp_net_ops.c
drivers/staging/dgrp/dgrp_ports_ops.c
drivers/staging/silicom/bpctl_mod.c
drivers/tty/serial/serial_core.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/lpc32xx_udc.c
drivers/usb/gadget/rndis.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/video/bfin_adv7393fb.c
drivers/zorro/proc.c
fs/afs/proc.c
fs/ext4/mballoc.c
fs/ext4/super.c
fs/jbd2/journal.c
fs/proc/generic.c
fs/proc/proc_devtree.c
include/linux/proc_fs.h
ipc/util.c
kernel/irq/proc.c
net/8021q/vlanproc.c
net/atm/proc.c
net/bluetooth/af_bluetooth.c
net/bluetooth/cmtp/capi.c
net/can/bcm.c
net/can/proc.c
net/core/neighbour.c
net/core/pktgen.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv6/proc.c
net/netfilter/x_tables.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_recent.c
net/sunrpc/cache.c
net/sunrpc/stats.c
sound/core/info.c