diff --git a/[refs] b/[refs] index a668b8fdbe95..97a04b3c6320 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8b4216018bdbfbb1b76150d202b15ee68c38e991 +refs/heads/master: 728a756b8fcd22d80e2dbba8117a8a3aafd3f203 diff --git a/trunk/fs/gfs2/dir.c b/trunk/fs/gfs2/dir.c index 8295c5b5d4a9..26ca3361a8bc 100644 --- a/trunk/fs/gfs2/dir.c +++ b/trunk/fs/gfs2/dir.c @@ -392,7 +392,7 @@ static int gfs2_dirent_find_space(const struct gfs2_dirent *dent, unsigned totlen = be16_to_cpu(dent->de_rec_len); if (gfs2_dirent_sentinel(dent)) - actual = GFS2_DIRENT_SIZE(0); + actual = 0; if (totlen - actual >= required) return 1; return 0;