Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ceph/
Dsnap.c299 static struct ceph_snap_context *empty_snapc; variable
341 if (num == 0 && realm->seq == empty_snapc->seq) { in build_snap_context()
342 ceph_get_snap_context(empty_snapc); in build_snap_context()
343 snapc = empty_snapc; in build_snap_context()
485 } else if (ci->i_snap_realm->cached_context == empty_snapc) { in ceph_queue_cap_snap()
967 empty_snapc = ceph_create_snap_context(0, GFP_NOFS); in ceph_snap_init()
968 if (!empty_snapc) in ceph_snap_init()
970 empty_snapc->seq = 1; in ceph_snap_init()
976 ceph_put_snap_context(empty_snapc); in ceph_snap_exit()