Whamcloud - gitweb
LU-2789 lod: sidestep setstripe vs rename race
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 9 Apr 2013 17:02:52 +0000 (12:02 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Apr 2013 15:30:20 +0000 (11:30 -0400)
commit040179b84330689b1b2cd128dcdd711bfc8f0b4e
tree4066a95b910d9e7eb7fa5dd217acd16abb28cbb3
parent9a01e2b52ecec9dfd33068fe75afeaf102046091
LU-2789 lod: sidestep setstripe vs rename race

In mdd_declare_link() and mdd_declare_rename() pass the actual
attributes to be set down to mdo_declare_attr_set().  In
lod_declare_attr_set() and lod_attr_set() only handle striping if
setting UID or GID.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I511e35833042f6004fa6befd382831b7f33bef5a
Reviewed-on: http://review.whamcloud.com/5802
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/mdd/mdd_dir.c