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>
Showing
- fs/affs/affs.h 1 addition, 1 deletionfs/affs/affs.h
- fs/befs/befs.h 1 addition, 1 deletionfs/befs/befs.h
- fs/coda/coda_linux.h 1 addition, 1 deletionfs/coda/coda_linux.h
- fs/hfs/hfs_fs.h 1 addition, 1 deletionfs/hfs/hfs_fs.h
- fs/hfsplus/hfsplus_fs.h 1 addition, 1 deletionfs/hfsplus/hfsplus_fs.h
- fs/hpfs/hpfs_fn.h 1 addition, 1 deletionfs/hpfs/hpfs_fn.h
- fs/jffs2/os-linux.h 1 addition, 1 deletionfs/jffs2/os-linux.h
- fs/jfs/jfs_incore.h 1 addition, 1 deletionfs/jfs/jfs_incore.h
- fs/minix/minix.h 1 addition, 1 deletionfs/minix/minix.h
- fs/ntfs/inode.h 1 addition, 1 deletionfs/ntfs/inode.h
- fs/squashfs/squashfs_fs_i.h 1 addition, 1 deletionfs/squashfs/squashfs_fs_i.h
- fs/sysv/sysv.h 1 addition, 1 deletionfs/sysv/sysv.h
- fs/udf/udf_i.h 1 addition, 1 deletionfs/udf/udf_i.h
Loading
Please register or sign in to comment