Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1340283
| From | green@linuxhacker.ru |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 07/56] staging/lustre: Get rid of mds_cmd_t typedef |
| Date | 2016-02-23 05:20 +0100 |
| Message-ID | <r5cC7-8ka-41@gated-at.bofh.it> (permalink) |
| References | <r5csp-8gx-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Oleg Drokin <green@linuxhacker.ru>
Replace it with enum mds_cmd
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
---
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
index c0b05d4..a72fed0 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2018,7 +2018,7 @@ enum quota_cmd {
*/
/* opcodes */
-typedef enum {
+enum mds_cmd {
MDS_GETATTR = 33,
MDS_GETATTR_NAME = 34,
MDS_CLOSE = 35,
@@ -2049,7 +2049,7 @@ typedef enum {
MDS_HSM_CT_UNREGISTER = 60,
MDS_SWAP_LAYOUTS = 61,
MDS_LAST_OPC
-} mds_cmd_t;
+};
#define MDS_FIRST_OPC MDS_GETATTR
--
2.1.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/56] More Lustre cleanups. green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 06/56] staging/lustre: Get rid of quota_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 19/56] staging/lustre: Get rid of ldlm_error_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 18/56] staging/lustre: Get rid of lustre_quota_version typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 07/56] staging/lustre: Get rid of mds_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 14/56] staging/lustre: Get rid of sec_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 04/56] stagig/lustre: Get rid of cksum_type_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100 [PATCH 12/56] staging/lustre: Get rid of obd_cmd_t typedef green@linuxhacker.ru - 2016-02-23 05:20 +0100
csiph-web