Skip to content

Commit

Permalink
staging/lustre: remove lvfs.h
Browse files Browse the repository at this point in the history
Move the definition of struct lvfs_run_ctxt to the one file that
needed it (lustre/include/obd.h). Remove the then unneeded headers
lustre/include/lvfs.h and lustre/include/linux/lvfs.h.

Signed-off-by: John L. Hammond <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jhammond-intel authored and gregkh committed Sep 11, 2014
1 parent 04b18c8 commit 91b3aaf
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 106 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lustre/include/cl_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
* super-class definitions.
*/
#include "lu_object.h"
#include "lvfs.h"
#include "linux/lustre_compat25.h"
#include <linux/mutex.h>
#include <linux/radix-tree.h>

Expand Down
57 changes: 0 additions & 57 deletions drivers/staging/lustre/lustre/include/linux/lvfs.h

This file was deleted.

45 changes: 0 additions & 45 deletions drivers/staging/lustre/lustre/include/lvfs.h

This file was deleted.

4 changes: 4 additions & 0 deletions drivers/staging/lustre/lustre/include/obd.h
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,10 @@ struct obd_llog_group {
#define OBD_DEVICE_MAGIC 0XAB5CD6EF
#define OBD_DEV_BY_DEVNAME 0xffffd0de

struct lvfs_run_ctxt {
struct dt_device *dt;
};

struct obd_device {
struct obd_type *obd_type;
__u32 obd_magic;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lustre/include/obd_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

#include <linux/slab.h>
#include "../../include/linux/libcfs/libcfs.h"
#include "lvfs.h"
#include "linux/lustre_compat25.h"
#include "lprocfs_status.h"

/* global variables */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lustre/obdclass/obd_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define PRINT_CMD CDEBUG

#include "../include/obd.h"
#include "../include/lvfs.h"
#include "../include/linux/lustre_compat25.h"
#include "../include/obd_class.h"
#include "../include/lustre/lustre_user.h"
#include "../include/lustre_log.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/lustre/lustre/ptlrpc/llog_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
#include "../include/obd_class.h"
#include "../include/lustre_log.h"
#include <linux/list.h>
#include "../include/lvfs.h"

int llog_initiator_connect(struct llog_ctxt *ctxt)
{
Expand Down

0 comments on commit 91b3aaf

Please sign in to comment.