diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-10-09 19:02:40 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:28:05 -0500 |
commit | 4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (patch) | |
tree | faac00bd440eff91bd59a3cef88e74220082163a /fs/ocfs2/dlmglue.h | |
parent | a301a27d715276a71827004549bcbb2b64776c11 (diff) |
ocfs2: remove unused handle argument from ocfs2_meta_lock_full()
Now that this is unused and all callers pass NULL, we can safely remove it.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlmglue.h')
-rw-r--r-- | fs/ocfs2/dlmglue.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ocfs2/dlmglue.h b/fs/ocfs2/dlmglue.h index 75c49ce2be32..a1165edef430 100644 --- a/fs/ocfs2/dlmglue.h +++ b/fs/ocfs2/dlmglue.h | |||
@@ -81,18 +81,16 @@ void ocfs2_data_unlock(struct inode *inode, | |||
81 | int ocfs2_rw_lock(struct inode *inode, int write); | 81 | int ocfs2_rw_lock(struct inode *inode, int write); |
82 | void ocfs2_rw_unlock(struct inode *inode, int write); | 82 | void ocfs2_rw_unlock(struct inode *inode, int write); |
83 | int ocfs2_meta_lock_full(struct inode *inode, | 83 | int ocfs2_meta_lock_full(struct inode *inode, |
84 | struct ocfs2_journal_handle *handle, | ||
85 | struct buffer_head **ret_bh, | 84 | struct buffer_head **ret_bh, |
86 | int ex, | 85 | int ex, |
87 | int arg_flags); | 86 | int arg_flags); |
88 | int ocfs2_meta_lock_with_page(struct inode *inode, | 87 | int ocfs2_meta_lock_with_page(struct inode *inode, |
89 | struct ocfs2_journal_handle *handle, | ||
90 | struct buffer_head **ret_bh, | 88 | struct buffer_head **ret_bh, |
91 | int ex, | 89 | int ex, |
92 | struct page *page); | 90 | struct page *page); |
93 | /* 99% of the time we don't want to supply any additional flags -- | 91 | /* 99% of the time we don't want to supply any additional flags -- |
94 | * those are for very specific cases only. */ | 92 | * those are for very specific cases only. */ |
95 | #define ocfs2_meta_lock(i, h, b, e) ocfs2_meta_lock_full(i, h, b, e, 0) | 93 | #define ocfs2_meta_lock(i, b, e) ocfs2_meta_lock_full(i, b, e, 0) |
96 | void ocfs2_meta_unlock(struct inode *inode, | 94 | void ocfs2_meta_unlock(struct inode *inode, |
97 | int ex); | 95 | int ex); |
98 | int ocfs2_super_lock(struct ocfs2_super *osb, | 96 | int ocfs2_super_lock(struct ocfs2_super *osb, |