]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: fix pending cap_snap checks, queuing
authorSage Weil <sage@newdream.net>
Wed, 1 Oct 2008 17:50:51 +0000 (10:50 -0700)
committerSage Weil <sage@newdream.net>
Wed, 1 Oct 2008 17:50:51 +0000 (10:50 -0700)
commit2542192741195640485d473dfc86513681e48e70
tree7d7ccb15ffabcd944eb49d9da8011feb4c627f5b
parent51e0ff5823b74add4463288ae7fc30928bdaf188
kclient: fix pending cap_snap checks, queuing

Add new cap_snaps to the _tail_ of the list.

Also, use a helper to check for pending (write in progress) check, and be
sure to check the list tail in that case.
src/kernel/caps.c
src/kernel/snap.c
src/kernel/super.h