diff options
| author | 2008-12-03 12:54:45 +0100 | |
|---|---|---|
| committer | 2008-12-03 12:54:45 +0100 | |
| commit | c36910c147fd7b129a8f1269c76b9767c99de5cd (patch) | |
| tree | 29403cd341b62581718f6b34944271980fb133e6 /fs/ocfs2/stack_user.c | |
| parent | x86: fix broken flushing in GART nofullflush path (diff) | |
| parent | AMD IOMMU: fix possible race while accessing iommu->need_sync (diff) | |
| download | linux-dev-c36910c147fd7b129a8f1269c76b9767c99de5cd.tar.xz linux-dev-c36910c147fd7b129a8f1269c76b9767c99de5cd.zip | |
Merge branch 'iommu-fixes-2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu into x86/urgent
Diffstat (limited to 'fs/ocfs2/stack_user.c')
| -rw-r--r-- | fs/ocfs2/stack_user.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index faec2d879357..9b76d41a8ac6 100644 --- a/fs/ocfs2/stack_user.c +++ b/fs/ocfs2/stack_user.c @@ -740,6 +740,9 @@ static int user_dlm_lock_status(union ocfs2_dlm_lksb *lksb) static void *user_dlm_lvb(union ocfs2_dlm_lksb *lksb) { + if (!lksb->lksb_fsdlm.sb_lvbptr) + lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + + sizeof(struct dlm_lksb); return (void *)(lksb->lksb_fsdlm.sb_lvbptr); } |
