summaryrefslogtreecommitdiffstats
path: root/fs/ext4/bitmap.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2007-10-17 08:26:15 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:47 +0200
commit55ca3e796d452d1fd213846ae6ce8bc4d37b54cc (patch)
tree427c69b9ca01c3c259fe71b1d84ee18abbf27979 /fs/ext4/bitmap.c
parentnbd: change a parameter's type to remove a memcpy call (diff)
downloadlinux-55ca3e796d452d1fd213846ae6ce8bc4d37b54cc.tar.xz
linux-55ca3e796d452d1fd213846ae6ce8bc4d37b54cc.zip
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 <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/bitmap.c')
0 files changed, 0 insertions, 0 deletions