Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359647
b: refs/heads/master
c: 72fe25e
h: refs/heads/master
i:
  359645: bb7c508
  359643: 170d34d
  359639: bcd64ab
  359631: 1b8329f
  359615: 79f36e3
v: v3
  • Loading branch information
Alex Elder authored and Sage Weil committed Feb 14, 2013
1 parent c0a0bac commit 3ddf936
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b82d167be64b3e88d9434d8a98ce83c83a07aa48
refs/heads/master: 72fe25e3460c8673984370208e0e6261101372d6
2 changes: 2 additions & 0 deletions trunk/include/linux/ceph/libceph.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ static inline int calc_pages_for(u64 off, u64 len)
}

/* ceph_common.c */
extern bool libceph_compatible(void *data);

extern const char *ceph_msg_type_name(int type);
extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
extern struct kmem_cache *ceph_inode_cachep;
Expand Down
16 changes: 16 additions & 0 deletions trunk/net/ceph/ceph_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@
#include "crypto.h"


/*
* Module compatibility interface. For now it doesn't do anything,
* but its existence signals a certain level of functionality.
*
* The data buffer is used to pass information both to and from
* libceph. The return value indicates whether libceph determines
* it is compatible with the caller (from another kernel module),
* given the provided data.
*
* The data pointer can be null.
*/
bool libceph_compatible(void *data)
{
return false;
}
EXPORT_SYMBOL(libceph_compatible);

/*
* find filename portion of a path (/foo/bar/baz -> baz)
Expand Down

0 comments on commit 3ddf936

Please sign in to comment.