]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: properly clear new flag for stale client cap
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 12 May 2014 02:24:51 +0000 (10:24 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 12 May 2014 03:14:51 +0000 (11:14 +0800)
commitf35648bf08880f6e6fb8adab470d838df93bcae7
tree3d5cb2440b08020a8e5d8edb937ca1271bd55bcb
parent58ee556079307b2b7cecc736a95ac5e95b8f164b
mds: properly clear new flag for stale client cap

CInode::encode_inodestat() should clear the 'new' flag of client
cap even when session is stale, because the 'new' flag prevents
Locker::issue_caps() from sending cap message to client.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/CInode.cc