From 79e1686828b793fd238d9e056a9fcf63448f771b Mon Sep 17 00:00:00 2001 From: Bob Peterson Date: Wed, 14 Jul 2010 18:12:26 -0400 Subject: [PATCH] --- yaml --- r: 201011 b: refs/heads/master c: 728a756b8fcd22d80e2dbba8117a8a3aafd3f203 h: refs/heads/master i: 201009: 766a7afa430a5bd77c9c93178014d212f2ee1922 201007: 97b2a31e55bf47060a0cc809c8509485cf1b2017 v: v3 --- [refs] | 2 +- trunk/fs/gfs2/dir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;