From 3e445905d7532951cf3c6ac4baaeeb90f84ae498 Mon Sep 17 00:00:00 2001
From: ericm <ericm>
Date: Wed, 23 Jul 2008 19:09:27 +0000
Subject: [PATCH] branch: HEAD add LBUG() as future reminder. b=16197 r=adilger

---
 lustre/ptlrpc/sec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lustre/ptlrpc/sec.c b/lustre/ptlrpc/sec.c
index fc39f50841..03c06e40f4 100644
--- a/lustre/ptlrpc/sec.c
+++ b/lustre/ptlrpc/sec.c
@@ -2056,6 +2056,9 @@ void pga_to_bulk_desc(int nob, obd_count pg_count, struct brw_page **pga,
                                            nob : pga[i]->count;
                 desc->bd_iov[i].kiov_offset = pga[i]->off & ~CFS_PAGE_MASK;
 #else
+                /* FIXME currently liblustre doesn't support bulk encryption.
+                 * if we do, check again following may not be right. */
+                LASSERTF(0, "Bulk encryption not implemented for liblustre\n");
                 desc->bd_iov[i].iov_base = pga[i]->pg->addr;
                 desc->bd_iov[i].iov_len = pga[i]->count > nob ?
                                            nob : pga[i]->count;
-- 
GitLab