linux-uconsole/fs
Greg Kroah-Hartman cce63258ec sysfs: add sysfs_create/remove_groups()
commit 3e9b2bae83 upstream

These functions are being open-coded in 3 different places in the driver
core, and other driver subsystems will want to start doing this as well,
so move it to the sysfs core to keep it all in one place, where we know
it is written properly.

Conflicts:
git checkout drivers/base/bus.c, In actul we don't use the interfaces in
drivers/base/bus.c

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: I0046a5572c780a0ea2b175ef753c408f6c10ba85
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2015-09-01 11:11:27 +08:00
..
9p rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
adfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
affs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
afs rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
autofs4 move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:34:00 +02:00
befs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
bfs
btrfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
cachefiles
ceph move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:34:00 +02:00
cifs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
coda Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
configfs configfs: fix race between dentry put and lookup 2013-11-29 11:11:53 -08:00
cramfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
debugfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
devpts Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
dlm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
ecryptfs Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
efivarfs efivarfs: Never return ENOENT from firmware again 2013-05-13 20:12:10 +01:00
efs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
exofs ore: Fix wrong math in allocation of per device BIO 2014-02-13 13:48:00 -08:00
exportfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
ext2 Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
ext3 Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
ext4 direct-io: only inc/dec inode->i_dio_count for file systems 2015-07-10 13:17:35 +08:00
f2fs lsk-v3.10-15.03-android release 2015-04-02 09:25:21 +08:00
fat fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
freevxfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
fscache fs/fscache/stats.c: fix memory leak 2013-04-29 15:54:27 -07:00
fuse Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2015-03-30 11:38:42 +08:00
gfs2 Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
hfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
hfsplus Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2015-04-18 13:37:44 +08:00
hostfs hostfs: use kmalloc instead of kzalloc 2013-05-04 15:48:45 -04:00
hpfs Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
hppfs rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
hugetlbfs cope with potentially long ->d_dname() output for shmem/hugetlb 2014-04-23 17:03:01 -07:00
isofs isofs: Fix unchecked printing of ER records 2015-01-08 09:58:15 -08:00
jbd rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
jbd2 jbd2: free bh when descriptor block checksum fails 2014-11-14 08:47:57 -08:00
jffs2 Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
jfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
lockd LOCKD: Fix a race when initialising nlmsvc_timeout 2015-01-27 07:52:33 -08:00
logfs
minix fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
ncpfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
nfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
nfs_common
nfsd Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
nilfs2 Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-21 10:02:28 +08:00
nls rk: temp revert rk change 2013-11-08 21:33:42 +08:00
notify move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:34:00 +02:00
ntfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
ocfs2 Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-21 10:02:28 +08:00
omfs
openpromfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
proc Merge tag 'lsk-v3.10-15.05-android' into develop-3.10 2015-06-02 11:25:34 +08:00
pstore Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
qnx4 fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
qnx6 fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
quota quota: provide interface for readding allocated space into reserved space 2015-01-29 17:40:57 -08:00
ramfs rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
reiserfs Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-android 2015-05-12 15:18:24 +08:00
romfs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
squashfs Squashfs: Add LZ4 compression configuration option 2015-03-04 11:27:29 -08:00
sysfs sysfs: add sysfs_create/remove_groups() 2015-09-01 11:11:27 +08:00
sysv Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
ubifs Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
udf Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
ufs fs: push sync_filesystem() down to the file system's remount_fs() 2015-03-04 11:26:46 -08:00
xfs Merge branch 'linaro-android-3.10-lsk' of 2015-03-16 15:52:47 +08:00
aio.c aio: fix kernel memory disclosure in io_getevents() introduced in v3.10 2014-06-30 20:09:45 -07:00
anon_inodes.c
attr.c fs,userns: Change inode_capable to capable_wrt_inode_uidgid 2014-06-16 13:42:52 -07:00
bad_inode.c
binfmt_aout.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
binfmt_elf.c fs/binfmt_elf.c: fix bug in loading of PIE binaries 2015-05-06 21:56:24 +02:00
binfmt_elf_fdpic.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
binfmt_em86.c
binfmt_flat.c new helper: read_code() 2013-04-29 15:40:23 -04:00
binfmt_misc.c rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
binfmt_script.c rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
binfmt_som.c
bio-integrity.c bio-integrity: Fix bio_integrity_verify segment start bug 2014-03-23 21:38:21 -07:00
bio.c block: Fix bio_copy_data() 2013-10-05 07:13:09 -07:00
block_dev.c direct-io: only inc/dec inode->i_dio_count for file systems 2015-07-10 13:17:35 +08:00
buffer.c vfs: fix data corruption when blocksize < pagesize for mmaped data 2014-11-14 08:47:54 -08:00
char_dev.c
compat.c [readdir] constify ->actor 2015-03-04 11:19:34 -08:00
compat_binfmt_elf.c binfmt_elf: add ELF_HWCAP2 to compat auxv entries 2014-09-11 17:21:24 +00:00
compat_ioctl.c rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
coredump.c coredump: fix the setting of PF_DUMPCORE 2014-07-31 12:53:50 -07:00
coredump.h
dcache.c dcache: Fix locking bugs in backported "deal with deadlock in d_walk()" 2015-04-29 10:34:02 +02:00
dcookies.c fs/compat: fix lookup_dcookie() parameter handling 2014-02-13 13:48:00 -08:00
direct-io.c direct-io: only inc/dec inode->i_dio_count for file systems 2015-07-10 13:17:35 +08:00
drop_caches.c
eventfd.c
eventpoll.c epoll: drop EPOLLWAKEUP if PM_SLEEP is disabled 2013-11-25 11:05:09 -08:00
exec.c Merge branch 'linaro-android-3.10-lsk' of git://android.git.linaro.org/kernel/linaro-android into linux-linaro-lsk-android 2014-11-05 14:27:01 +00:00
fcntl.c
fhandle.c
file.c fs/file.c:fdtable: avoid triggering OOMs from alloc_fdmem 2014-02-22 12:41:25 -08:00
file_table.c don't bother with {get,put}_write_access() on non-regular files 2014-05-30 21:52:12 -07:00
filesystems.c
fs-writeback.c Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2015-01-16 22:07:03 +00:00
fs_struct.c
generic_acl.c
inode.c direct-io: only inc/dec inode->i_dio_count for file systems 2015-07-10 13:17:35 +08:00
internal.h splice: don't pass the address of ->f_pos to methods 2013-06-20 19:02:45 +04:00
ioctl.c
ioprio.c block: Fix computation of merged request priority 2014-11-21 09:22:53 -08:00
Kconfig rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
Kconfig.binfmt fs: make binfmt support for #! scripts modular and removable 2013-04-30 17:04:04 -07:00
libfs.c move d_rcu from overlapping d_child to overlapping d_alias 2015-04-29 10:34:00 +02:00
locks.c locks: allow __break_lease to sleep even when break_time is 0 2014-05-13 13:59:44 +02:00
Makefile rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
mbcache.c
mount.h vfs: Is mounted should be testing mnt_ns for NULL or error. 2014-02-06 11:08:16 -08:00
mpage.c
namei.c RCU pathwalk breakage when running into a symlink overmounting something 2015-05-06 21:56:27 +02:00
namespace.c umount: Disallow unprivileged mount force 2015-01-08 09:58:16 -08:00
no-block.c
open.c don't bother with {get,put}_write_access() on non-regular files 2014-05-30 21:52:12 -07:00
pipe.c vfs: fix subtle use-after-free of pipe_inode_info 2013-12-11 22:36:26 -08:00
pnode.c vfs: Fix invalid ida_remove() call 2013-05-31 15:16:33 -04:00
pnode.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
posix_acl.c posix_acl: handle NULL ACL in posix_acl_equiv_mode 2014-06-07 13:25:33 -07:00
proc_namespace.c
read_write.c fs/compat: fix parameter handling for compat readv/writev syscalls 2014-02-13 13:48:00 -08:00
readdir.c [readdir] constify ->actor 2015-03-04 11:19:34 -08:00
select.c select: use freezable blocking call 2013-07-01 15:45:28 -07:00
seq_file.c Merge remote-tracking branch 'lsk/v3.10/topic/aosp' into linux-linaro-lsk-android 2014-09-08 12:05:48 +01:00
signalfd.c rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
splice.c splice: Apply generic position and size checks to each write 2015-04-29 10:33:57 +02:00
stack.c
stat.c quota: provide interface for readding allocated space into reserved space 2015-01-29 17:40:57 -08:00
statfs.c rk: revert 20f3d0b+v3.0.66 to v3.0 2013-11-08 21:34:05 +08:00
super.c fs: Fix theoretical division by 0 in super_cache_scan(). 2014-11-14 08:47:54 -08:00
sync.c
timerfd.c timerfd: support CLOCK_BOOTTIME clock 2013-12-13 23:04:58 +00:00
utimes.c
xattr.c
xattr_acl.c