This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch master in repository gfs2-utils.
commit 448e5e3c862dbd813df07107d1727baadaf2fe5b Author: Andrew Price anprice@redhat.com AuthorDate: Thu Jun 10 10:39:42 2021 +0100
libgfs2: Don't parse/write de_cookie
It's really just an ephemeral placeholder.
Signed-off-by: Andrew Price anprice@redhat.com --- gfs2/libgfs2/libgfs2.h | 1 - gfs2/libgfs2/ondisk.c | 2 -- 2 files changed, 3 deletions(-)
diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h index 7f6988f8..026edb1b 100644 --- a/gfs2/libgfs2/libgfs2.h +++ b/gfs2/libgfs2/libgfs2.h @@ -399,7 +399,6 @@ struct lgfs2_dirent { uint16_t dr_name_len; uint16_t dr_type; uint16_t dr_rahead; - uint32_t dr_cookie; };
struct lgfs2_leaf { diff --git a/gfs2/libgfs2/ondisk.c b/gfs2/libgfs2/ondisk.c index 734e0b91..5d2f4a6b 100644 --- a/gfs2/libgfs2/ondisk.c +++ b/gfs2/libgfs2/ondisk.c @@ -338,7 +338,6 @@ void lgfs2_dirent_in(struct lgfs2_dirent *d, void *dep) d->dr_name_len = be16_to_cpu(de->de_name_len); d->dr_type = be16_to_cpu(de->de_type); d->dr_rahead = be16_to_cpu(de->de_rahead); - d->dr_cookie = be32_to_cpu(de->de_cookie); }
void lgfs2_dirent_out(struct lgfs2_dirent *d, void *dep) @@ -351,7 +350,6 @@ void lgfs2_dirent_out(struct lgfs2_dirent *d, void *dep) de->de_name_len = cpu_to_be16(d->dr_name_len); de->de_type = cpu_to_be16(d->dr_type); de->de_rahead = cpu_to_be16(d->dr_rahead); - de->de_cookie = cpu_to_be32(d->dr_cookie); }
void lgfs2_leaf_in(struct lgfs2_leaf *lf, void *lfp)
cluster-commits@lists.fedorahosted.org