]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ceph: fix erroneous cap flush to non-auth mds
authorSage Weil <sage@newdream.net>
Tue, 18 Jan 2011 16:48:06 +0000 (08:48 -0800)
committerSage Weil <sage@newdream.net>
Wed, 19 Jan 2011 17:23:24 +0000 (09:23 -0800)
commit24be0c481067560b11441e794e27f166a3568863
treee91a8f77b8ecdacf747e5418c30a1c18dbdc38a3
parent50aac4fec503960380ab594a93a6fbfdf3f8915f
ceph: fix erroneous cap flush to non-auth mds

The int flushing is global and not clear on each iteration of the loop,
which can cause a second flush of caps to any MDSs with ids greater than
the auth.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c