Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1711122
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 06/64] staging: lustre: uapi: remove unused function in lustre_disk.h |
| Date | 2017-08-14 18:10 +0200 |
| Message-ID | <ueq6f-6jm-37@gated-at.bofh.it> (permalink) |
| References | <uepMR-5WA-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Delete code that is used by only the server or just in user
land. Now this file is a normal kernel header. The UAPI
version of this header is only needed for server side so
no need to create a new header in uapi directory.
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/25194
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
drivers/staging/lustre/lustre/include/lustre_disk.h | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/lustre_disk.h b/drivers/staging/lustre/lustre/include/lustre_disk.h
index a676bcc..1a532ad 100644
--- a/drivers/staging/lustre/lustre/include/lustre_disk.h
+++ b/drivers/staging/lustre/lustre/include/lustre_disk.h
@@ -108,14 +108,6 @@ struct lustre_mount_data {
#define lmd_is_client(x) ((x)->lmd_flags & LMD_FLG_CLIENT)
-/****************** last_rcvd file *********************/
-
-/** version recovery epoch */
-#define LR_EPOCH_BITS 32
-#define lr_epoch(a) ((a) >> LR_EPOCH_BITS)
-#define LR_EXPIRE_INTERVALS 16 /**< number of intervals to track transno */
-#define ENOENT_VERSION 1 /** 'virtual' version of non-existent object */
-
/****************** superblock additional info *********************/
struct ll_sb_info;
@@ -141,16 +133,6 @@ struct lustre_sb_info {
#define s2lsi_nocast(sb) ((sb)->s_fs_info)
#define get_profile_name(sb) (s2lsi(sb)->lsi_lmd->lmd_profile)
-#define get_mount_flags(sb) (s2lsi(sb)->lsi_lmd->lmd_flags)
-#define get_mntdev_name(sb) (s2lsi(sb)->lsi_lmd->lmd_dev)
-
-/****************** mount lookup info *********************/
-
-struct lustre_mount_info {
- char *lmi_name;
- struct super_block *lmi_sb;
- struct list_head lmi_list_chain;
-};
/****************** prototypes *********************/
--
1.8.3.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/64] staging: lustre: uapi: normalize the lustre headers James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 12/64] staging: lustre: uapi: move lustre_ioctl.h to uapi directory James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 10/64] staging: lustre: uapi: move obd_ioctl_getdata() declaration James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 06/64] staging: lustre: uapi: remove unused function in lustre_disk.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 14/64] staging: lustre: uapi: cleanup headers for lustre_ioctl.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 04/64] staging: lustre: uapi: update URL doc link in lustre_fid.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 02/64] staging: lustre: uapi: remove unused functions for lustre_fid.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 16/64] staging: lustre: uapi: move kernel only prototypes out of lustre_param.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 [PATCH 05/64] staging: lustre: uapi: move lu_fid, ost_id funcs out of lustre_idl.h James Simmons <jsimmons@infradead.org> - 2017-08-14 18:10 +0200 Re: [PATCH 00/64] staging: lustre: uapi: normalize the lustre headers Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-17 18:30 +0200
csiph-web