From b36b123b6f3f66c08f29a65ff74ab5164331ea31 Mon Sep 17 00:00:00 2001 From: green Date: Sun, 14 Dec 2003 17:42:07 +0000 Subject: [PATCH] r=phik fix for #2348 --- lustre/mds/mds_reint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 31891a1..36438b8 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -443,7 +443,7 @@ static int mds_reint_setattr(struct mds_update_record *rec, int offset, switch (cleanup_phase) { case 1: if (S_ISREG(inode->i_mode) && rec->ur_eadata != NULL) - down(&inode->i_sem); + up(&inode->i_sem); l_dput(de); if (locked) { if (rc) { -- 1.8.3.1