staging: lustre: llog: we don't need vfsmount
authorLai Siyao <lai.siyao@intel.com>
Thu, 28 Apr 2016 01:37:19 +0000 (21:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:53:18 +0000 (21:53 -0700)
The patch for LU-3286 removed vfsmount instances used
on the server side. Since this is server side only we
can remove it from the upstream client.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3286
Reviewed-on: http://review.whamcloud.com/8286
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_disk.h

index 95fd36063f5530ad3dacb962a4e9af355bb237ca..b36821ffb252961975767c66c099b6f07e99b4ec 100644 (file)
@@ -130,7 +130,6 @@ struct lustre_sb_info {
        struct lustre_mount_data *lsi_lmd;     /* mount command info */
        struct ll_sb_info       *lsi_llsbi;   /* add'l client sbi info */
        struct dt_device         *lsi_dt_dev;  /* dt device to access disk fs*/
-       struct vfsmount   *lsi_srv_mnt; /* the one server mount */
        atomic_t              lsi_mounts;  /* references to the srv_mnt */
        char                      lsi_svname[MTI_NAME_MAXLEN];
        char                      lsi_osd_obdname[64];
@@ -158,7 +157,6 @@ struct lustre_sb_info {
 struct lustre_mount_info {
        char             *lmi_name;
        struct super_block   *lmi_sb;
-       struct vfsmount      *lmi_mnt;
        struct list_head            lmi_list_chain;
 };