Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38779
b: refs/heads/master
c: 2b557f6
h: refs/heads/master
i:
  38777: 42f05f9
  38775: e81eb39
v: v3
  • Loading branch information
Steven Whitehouse committed Aug 7, 2006
1 parent 69e08c6 commit dfe268e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad73c67e792c752ddc99f2b0587abae05255dd6d
refs/heads/master: 2b557f6dc7899a0f6afc0169534346f8fa977a46
16 changes: 8 additions & 8 deletions trunk/fs/gfs2/locking.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ static struct list_head lmh_list;
static struct mutex lmh_lock;

/**
* gfs_register_lockproto - Register a low-level locking protocol
* gfs2_register_lockproto - Register a low-level locking protocol
* @proto: the protocol definition
*
* Returns: 0 on success, -EXXX on failure
*/

int gfs_register_lockproto(struct lm_lockops *proto)
int gfs2_register_lockproto(struct lm_lockops *proto)
{
struct lmh_wrapper *lw;

Expand Down Expand Up @@ -67,12 +67,12 @@ int gfs_register_lockproto(struct lm_lockops *proto)
}

/**
* gfs_unregister_lockproto - Unregister a low-level locking protocol
* gfs2_unregister_lockproto - Unregister a low-level locking protocol
* @proto: the protocol definition
*
*/

void gfs_unregister_lockproto(struct lm_lockops *proto)
void gfs2_unregister_lockproto(struct lm_lockops *proto)
{
struct lmh_wrapper *lw;

Expand Down Expand Up @@ -117,7 +117,7 @@ int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data,
int try = 0;
int error, found;

retry:
retry:
mutex_lock(&lmh_lock);

found = 0;
Expand Down Expand Up @@ -151,7 +151,7 @@ int gfs2_mount_lockproto(char *proto_name, char *table_name, char *host_data,
min_lvb_size, flags, lockstruct, fskobj);
if (error)
module_put(lw->lw_ops->lm_owner);
out:
out:
mutex_unlock(&lmh_lock);
return error;
}
Expand Down Expand Up @@ -186,6 +186,6 @@ void __init gfs2_init_lmh(void)
INIT_LIST_HEAD(&lmh_list);
}

EXPORT_SYMBOL_GPL(gfs_register_lockproto);
EXPORT_SYMBOL_GPL(gfs_unregister_lockproto);
EXPORT_SYMBOL_GPL(gfs2_register_lockproto);
EXPORT_SYMBOL_GPL(gfs2_unregister_lockproto);

0 comments on commit dfe268e

Please sign in to comment.