Whamcloud - gitweb
LU-1866 misc: fix some issues found during LFSCK
authorFan Yong <yong.fan@whamcloud.com>
Sat, 12 Jan 2013 00:30:37 +0000 (08:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 1 Feb 2013 02:49:06 +0000 (21:49 -0500)
commitf4547f0569774eb794fb143362e201f658415f4c
treefa10272b00c7694bd4048c60e8a33eae7b8a421e
parentbc962bde3b109b99c924137ed281d9400637e295
LU-1866 misc: fix some issues found during LFSCK

1) Test scripts issues for sanity.sh and sanity-scrub.sh

2) Incorrectly use open flag 'MDS_OPEN_OWNEROVERRIDE" for
   permission check for set_attr.

3) Other code clean, such as mdt_body, md_op_spec, wiretest.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I52fbfe8481e35edba75e8fe7e0ab2fec094eabae
Reviewed-on: http://review.whamcloud.com/5046
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
13 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/md_object.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_lib.c
lustre/osp/osp_dev.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-scrub.sh
lustre/tests/sanity.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c