]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: update issue_seq on cap grant
authorSage Weil <sage@newdream.net>
Wed, 22 Sep 2010 18:16:00 +0000 (11:16 -0700)
committerSage Weil <sage@newdream.net>
Thu, 7 Oct 2010 15:01:50 +0000 (08:01 -0700)
commitb17557fa35f74e1ace9a1031f5b0e91e2b396e2c
treed0419a4c2132687c58e54a18938ab2359794700d
parent7f11f1345def1343acf5de5e13666bb31b3ab77b
ceph: update issue_seq on cap grant

We need to update the issue_seq on any grant operation, be it via an MDS
reply or a separate grant message.  The update in the grant path was
missing.  This broke cap release for inodes in which the MDS sent an
explicit grant message that was not soon after followed by a successful
MDS reply on the same inode.

Also fix the signedness on seq locals.

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