Home
last modified time | relevance | path

Searched refs:cdst (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/fs/ceph/
H A Dfile.c428 struct ceph_inode_info *cdst = ceph_inode(dst); in cache_file_layout() local
431 spin_lock(&cdst->i_ceph_lock); in cache_file_layout()
432 if ((__ceph_caps_issued(cdst, NULL) & CEPH_CAP_DIR_CREATE) && in cache_file_layout()
433 !ceph_file_layout_is_valid(&cdst->i_cached_layout)) { in cache_file_layout()
434 memcpy(&cdst->i_cached_layout, &csrc->i_layout, in cache_file_layout()
435 sizeof(cdst->i_cached_layout)); in cache_file_layout()
436 rcu_assign_pointer(cdst->i_cached_layout.pool_ns, in cache_file_layout()
439 spin_unlock(&cdst->i_ceph_lock); in cache_file_layout()