fs: cleanup slight list_entry abuse
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 19 Mar 2015 11:28:04 +0000 (12:28 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Jun 2015 22:01:59 +0000 (18:01 -0400)
commitdb6172c41194576ba2a27e64fa2a5576d11d6eb9
tree8f0090f98145fc51ec956d39d38d41fe757755f4
parent8ea3a7c0df05b2cb33e2d63aa1c964308724b1c4
fs: cleanup slight list_entry abuse

list_entry is just a wrapper for container_of, but it is arguably
wrong (and slightly confusing) to use it when the pointed-to struct
member is not a struct list_head. Use container_of directly instead.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
13 files changed:
fs/affs/affs.h
fs/befs/befs.h
fs/coda/coda_linux.h
fs/hfs/hfs_fs.h
fs/hfsplus/hfsplus_fs.h
fs/hpfs/hpfs_fn.h
fs/jffs2/os-linux.h
fs/jfs/jfs_incore.h
fs/minix/minix.h
fs/ntfs/inode.h
fs/squashfs/squashfs_fs_i.h
fs/sysv/sysv.h
fs/udf/udf_i.h