From: alex Date: Sat, 24 Sep 2005 00:21:24 +0000 (+0000) Subject: - missed bit from test 41 debugging X-Git-Tag: v1_7_100~607 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=a0251f2ac3fe64ae4f7e10dcb9754488c6dfb0df - missed bit from test 41 debugging --- diff --git a/lustre/include/linux/obd.h b/lustre/include/linux/obd.h index a401829..d6dd380 100644 --- a/lustre/include/linux/obd.h +++ b/lustre/include/linux/obd.h @@ -478,6 +478,7 @@ struct mds_obd { int mds_capa_key_idx; /* the red key index */ struct file *mds_capa_keys_filp; unsigned long mds_capa_key_timeout; /* sec */ + unsigned mds_config_generation; }; struct echo_obd { diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 0292710..7dadf25 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -1474,8 +1474,8 @@ int mds_getattr_size(struct obd_device *obd, struct dentry *dentry, RETURN(0); } - if (mds->mds_config_generation) - return 0; + /*if (mds->mds_config_generation) + return 0;*/ if (atomic_read(&inode->i_writecount)) { /* some one has opened the file for write.