backports: add proc_set_size() and proc_set_user()
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Thu, 16 May 2013 08:23:29 +0000 (01:23 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 May 2013 12:05:47 +0000 (14:05 +0200)
commit260f9bf9933bf35d09b40f22993364af33fe01ca
tree7c559e714543d3c5780dda72527cc295f365bf8d
parent6fd4f5d11cd40d44e0f45f762ba1bcaaab36e9e9
backports: add proc_set_size() and proc_set_user()

mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 271a15ea
v3.10-rc1~129^2~24

commit 271a15eabe094538d958dc68ccfc9c36b699247a
Author: David Howells <dhowells@redhat.com>
Date:   Fri Apr 12 00:38:51 2013 +0100

    proc: Supply PDE attribute setting accessor functions

    Supply accessor functions to set attributes in proc_dir_entry structs.

    The following are supplied: proc_set_size() and proc_set_user().

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    cc: linuxppc-dev@lists.ozlabs.org
    cc: linux-media@vger.kernel.org
    cc: netdev@vger.kernel.org
    cc: linux-wireless@vger.kernel.org
    cc: linux-pci@vger.kernel.org
    cc: netfilter-devel@vger.kernel.org
    cc: alsa-devel@alsa-project.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/proc_fs.h
backport/compat/backport-3.10.c