Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-80 lov: large stripe count support
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_log.c
diff --git
a/lustre/mds/mds_log.c
b/lustre/mds/mds_log.c
index
91ea64c
..
f256053
100644
(file)
--- a/
lustre/mds/mds_log.c
+++ b/
lustre/mds/mds_log.c
@@
-297,6
+297,9
@@
static int mds_llog_add_unlink(struct obd_device *obd,
struct llog_ctxt *ctxt;
int rc;
+ if (cookies < lsm->lsm_stripe_count)
+ RETURN(rc = -EFBIG);
+
/* first prepare unlink log record */
OBD_ALLOC_PTR(lur);
if (!lur)