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
..
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-05-21 12:59:16 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:03 -07:00
2006-06-25 10:01:01 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:48 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:08 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-04-19 12:43:47 -04:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-03-24 07:33:19 -08:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:09 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:07 -07:00
2006-01-11 18:42:13 -08:00
2006-03-28 09:16:06 -08:00
2006-01-10 08:01:25 -08:00
2006-06-23 07:42:54 -07:00
2006-06-23 07:43:05 -07:00
2006-05-21 12:59:17 -07:00
2006-06-23 07:42:45 -07:00
2006-06-17 10:52:12 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 17:10:39 +02:00
2006-03-31 12:18:53 -08:00
2006-03-24 07:33:19 -08:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-03-26 08:56:56 -08:00
2006-06-23 17:10:39 +02:00
2006-03-26 08:56:56 -08:00
2006-04-02 13:36:13 +02:00
2006-06-23 07:42:45 -07:00
2006-06-22 15:05:57 -07:00
2006-04-02 13:37:19 +02:00
2006-04-11 13:53:33 +02:00
2006-06-23 07:43:06 -07:00
2006-03-28 09:16:05 -08:00
2006-06-23 17:10:39 +02:00
2006-04-02 13:38:18 +02:00
2006-06-23 07:42:45 -07:00
2006-06-20 05:25:19 -04:00
2006-01-11 18:42:13 -08:00
2006-06-23 07:42:53 -07:00
2006-06-23 07:42:55 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:43:03 -07:00
2006-06-20 05:25:17 -04:00
2006-03-28 09:16:08 -08:00
2006-06-23 07:42:49 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-03-24 07:33:19 -08:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-03-24 07:33:24 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-04-11 13:56:09 +02:00
2006-01-09 15:59:24 -08:00
2006-06-23 07:43:03 -07:00
2006-03-23 07:38:12 -08:00
2006-06-23 17:10:39 +02:00
2006-04-28 21:04:59 +10:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:49 -07:00
2006-06-20 05:25:28 -04:00