From: WANG Cong Date: Wed, 17 Oct 2007 06:26:15 +0000 (-0700) Subject: fs/romfs/inode.c: trivial improvements X-Git-Tag: v2.6.24-rc1~762 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ca3e796d452d1fd213846ae6ce8bc4d37b54cc;p=pandora-kernel.git fs/romfs/inode.c: trivial improvements - There are no lists in fs/romfs/inode.c, so using list_entry is a bit confusing. Replace it with container_of. - It is unnecessary to cast the return value of kmem_cache_alloc, since it returns a void* pointer. Signed-off-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed