linux/fs/ufs
Evgeniy Dushistov 9695ef16ed [PATCH] ufs: wrong type cast
There are two ugly macros in ufs code:
#define UCPI_UBH ((struct ufs_buffer_head *)ucpi)
#define USPI_UBH ((struct ufs_buffer_head *)uspi)
when uspi looks like
struct {
struct ufs_buffer_head ;
}
and USPI_UBH has some sence,
ucpi looks like
struct {
struct not_ufs_buffer_head;
}

To prevent bugs in future, this patch convert macros to inline function and
fix "ucpi" structure.

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:02 -07:00
..
balloc.c [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00
cylinder.c [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00
dir.c [PATCH] ufs: directory and page cache: from blocks to pages 2006-06-25 10:01:02 -07:00
file.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
ialloc.c [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00
inode.c [PATCH] ufs: directory and page cache: install aops 2006-06-25 10:01:02 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c [PATCH] ufs: directory and page cache: from blocks to pages 2006-06-25 10:01:02 -07:00
super.c [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00
swab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
symlink.c [PATCH] Fix up symlink function pointers 2005-08-19 18:08:21 -07:00
truncate.c [PATCH] ufs: ufs_trunc_indirect: infinite cycle 2006-06-25 10:01:01 -07:00
util.c [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00
util.h [PATCH] ufs: wrong type cast 2006-06-25 10:01:02 -07:00