diff options
author | Jan Blunck <jblunck@suse.de> | 2006-01-08 04:05:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:07 -0500 |
commit | bfc090c468b33fb1f75c27a11efa7b7dc250556f (patch) | |
tree | c561f969b0f8b965cd82170b7e70002a17fce253 /fs/afs | |
parent | 6a878184c202395ea17212f111ab9ec4b5f6d6ee (diff) |
[PATCH] afs: remove unnecessary __attribute__((packed))
Remove the unnecessary __attribute__((packed)) since the enum itself is packed
and not the location of it in the structure.
Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/afs')
-rw-r--r-- | fs/afs/volume.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/afs/volume.h b/fs/afs/volume.h index 1e691889c4c9..bfdcf19ba3f3 100644 --- a/fs/afs/volume.h +++ b/fs/afs/volume.h | |||
@@ -18,8 +18,6 @@ | |||
18 | #include "kafsasyncd.h" | 18 | #include "kafsasyncd.h" |
19 | #include "cache.h" | 19 | #include "cache.h" |
20 | 20 | ||
21 | #define __packed __attribute__((packed)) | ||
22 | |||
23 | typedef enum { | 21 | typedef enum { |
24 | AFS_VLUPD_SLEEP, /* sleeping waiting for update timer to fire */ | 22 | AFS_VLUPD_SLEEP, /* sleeping waiting for update timer to fire */ |
25 | AFS_VLUPD_PENDING, /* on pending queue */ | 23 | AFS_VLUPD_PENDING, /* on pending queue */ |
@@ -115,7 +113,7 @@ struct afs_volume | |||
115 | struct cachefs_cookie *cache; /* caching cookie */ | 113 | struct cachefs_cookie *cache; /* caching cookie */ |
116 | #endif | 114 | #endif |
117 | afs_volid_t vid; /* volume ID */ | 115 | afs_volid_t vid; /* volume ID */ |
118 | afs_voltype_t __packed type; /* type of volume */ | 116 | afs_voltype_t type; /* type of volume */ |
119 | char type_force; /* force volume type (suppress R/O -> R/W) */ | 117 | char type_force; /* force volume type (suppress R/O -> R/W) */ |
120 | unsigned short nservers; /* number of server slots filled */ | 118 | unsigned short nservers; /* number of server slots filled */ |
121 | unsigned short rjservers; /* number of servers discarded due to -ENOMEDIUM */ | 119 | unsigned short rjservers; /* number of servers discarded due to -ENOMEDIUM */ |