4 #define OBD_SNAP_MAGIC 0x47224722
6 #define SNAP_MAX 8 /* must fit in "u" area of struct inode */
12 struct snap_obd_data {
13 int snap_dev; /* which device contains the data */
14 unsigned int snap_no; /* which snapshot are we accessing */
15 unsigned int snap_count; /* how many snapshots exist */
16 struct snap snap_snaps[SNAP_MAX]; /* times must be incr or attach will fail */
20 unsigned int snap_no; /* which snapshot are we accessing */
21 unsigned int snap_count; /* how many snapshots exist */
22 time_t snap_times[SNAP_MAX];
23 int snap_index[SNAP_MAX];
26 struct snap_object_data {
28 /* id of snaps of object; slot 0 has the current data */
29 unsigned long od_ids[SNAP_MAX + 1];