]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ceph/caps.c
ceph: update inode fields according to issued caps
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 17 Apr 2014 00:55:50 +0000 (08:55 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:52 +0000 (09:29 +0800)
commitf98a128a55ff85d0087de89f304f10bd75e792aa
treebdaa64075f36354d7f221a8b7d93fbc4bdb8f322
parent461f758ac0bad40fe8e0959f415dae38efa16c12
ceph: update inode fields according to issued caps

Cap message and request reply from non-auth MDS may carry stale
information (corresponding locks are in LOCK states) even they
have the newest inode version. So client should update inode fields
according to issued caps.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/caps.c
fs/ceph/inode.c
include/linux/ceph/ceph_fs.h