Whamcloud - gitweb
LU-2561 mdd: create decares attr set with parent attr
authorLai Siyao <laisiyao@whamcloud.com>
Wed, 12 Dec 2012 05:20:33 +0000 (13:20 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 26 Jan 2013 04:07:48 +0000 (23:07 -0500)
commit20040d7f9529b933fd9778da0d3f3be0df4d876b
treeff8862e3cb3c61952e0fa6b6ebf52796904a5663
parentc0ed0c4a17fdb0c2978aa06183603394d509fb28
LU-2561 mdd: create decares attr set with parent attr

mdd_declare_create() mistakenly declares attr set for child with
parent attr, as will cause truncate operation.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I79dbbb2b52e1d41aaa70c36ce6c197ab2cd684d8
Reviewed-on: http://review.whamcloud.com/4956
Reviewed-by: Prakash Surya <surya1@llnl.gov>
Tested-by: Hudson
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdd/mdd_dir.c
lustre/tests/acl/2561.test [new file with mode: 0644]
lustre/tests/acl/974.test
lustre/tests/sanity.sh