diff options
Diffstat (limited to 'fs/gfs2/lm.c')
-rw-r--r-- | fs/gfs2/lm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/lm.c b/fs/gfs2/lm.c index 5b3c56d2df2f..06a785e9b582 100644 --- a/fs/gfs2/lm.c +++ b/fs/gfs2/lm.c | |||
@@ -188,11 +188,13 @@ void gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, lm_lock_t *lock, char *lvb) | |||
188 | sdp->sd_lockstruct.ls_ops->lm_unhold_lvb(lock, lvb); | 188 | sdp->sd_lockstruct.ls_ops->lm_unhold_lvb(lock, lvb); |
189 | } | 189 | } |
190 | 190 | ||
191 | #if 0 | ||
191 | void gfs2_lm_sync_lvb(struct gfs2_sbd *sdp, lm_lock_t *lock, char *lvb) | 192 | void gfs2_lm_sync_lvb(struct gfs2_sbd *sdp, lm_lock_t *lock, char *lvb) |
192 | { | 193 | { |
193 | if (likely(!test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) | 194 | if (likely(!test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) |
194 | sdp->sd_lockstruct.ls_ops->lm_sync_lvb(lock, lvb); | 195 | sdp->sd_lockstruct.ls_ops->lm_sync_lvb(lock, lvb); |
195 | } | 196 | } |
197 | #endif /* 0 */ | ||
196 | 198 | ||
197 | int gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, | 199 | int gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, |
198 | struct file *file, struct file_lock *fl) | 200 | struct file *file, struct file_lock *fl) |