Commit da66116e authored by Adrian Bunk's avatar Adrian Bunk Committed by Mark Fasheh
Browse files

[2.6 patch] make ocfs2_create_new_lock() static



This patch makes the needlessly global ocfs2_create_new_lock() static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 0215ffb0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1063,7 +1063,7 @@ static void ocfs2_cluster_unlock(struct ocfs2_super *osb,
	mlog_exit_void();
}

int ocfs2_create_new_lock(struct ocfs2_super *osb,
static int ocfs2_create_new_lock(struct ocfs2_super *osb,
				 struct ocfs2_lock_res *lockres,
				 int ex,
				 int local)
+0 −2
Original line number Diff line number Diff line
@@ -68,8 +68,6 @@ void ocfs2_dentry_lock_res_init(struct ocfs2_dentry_lock *dl,
				u64 parent, struct inode *inode);
void ocfs2_lock_res_free(struct ocfs2_lock_res *res);
int ocfs2_create_new_inode_locks(struct inode *inode);
int ocfs2_create_new_lock(struct ocfs2_super *osb,
			  struct ocfs2_lock_res *lockres, int ex, int local);
int ocfs2_drop_inode_locks(struct inode *inode);
int ocfs2_data_lock_full(struct inode *inode,
			 int write,