Whamcloud - gitweb
Branch b1_8
authortianzy <tianzy>
Thu, 16 Jul 2009 06:40:12 +0000 (06:40 +0000)
committertianzy <tianzy>
Thu, 16 Jul 2009 06:40:12 +0000 (06:40 +0000)
commiteb057a52b73b79afa857d1d71ad512f1d463f721
treed939f69bc16e959a3c7b3dc30c3ca005ca2928d3
parenta10c0beeb8e1ee76f9cbdb1dea9bce4ad61fa768
Branch b1_8
Fix group quota "too many blocks" OSS crashes.

In filter_commitrw_write():
1. lquota_chkquota();
2. obdo_from_inode();
3. lquota_pending_commit();

2. has changed uid and gid in this case, then caused
lquota_chkquota() and lquota_pending_commit() to use
different uid and gid. That is the root of the bug.
b=18793
i=yong.fan
i=panda
lustre/mds/mds_open.c
lustre/mds/mds_reint.c
lustre/obdfilter/filter_io_26.c