]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: adjust flock lock state on export
authorSage Weil <sage@newdream.net>
Wed, 30 Nov 2011 17:57:29 +0000 (09:57 -0800)
committerSage Weil <sage@newdream.net>
Wed, 30 Nov 2011 17:57:58 +0000 (09:57 -0800)
Looks like this was missed when flocklock was added.  Did a quick grep and
it doesn't look like it is missing anywhere else.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Migrator.cc

index 5f3322680c0a751c694969f6bb743124ce692ff9..c1148645c148b5bfc6207e5763a2209e75bfedb7 100644 (file)
@@ -1075,6 +1075,7 @@ void Migrator::finish_export_inode(CInode *in, utime_t now, list<Context*>& fini
   in->nestlock.export_twiddle();
   in->xattrlock.export_twiddle();
   in->snaplock.export_twiddle();
+  in->flocklock.export_twiddle();
   in->policylock.export_twiddle();
   
   // mark auth