From 47af47cd858c58b8316490b4c421f2639531db2c Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Tue, 20 Nov 2007 11:48:41 -0800 Subject: [PATCH] --- yaml --- r: 74291 b: refs/heads/master c: 0d8a4e0cd688ad0de6430ce3425c7849cfec1c2d h: refs/heads/master i: 74289: 9717d5191510cef66a7c4cb3c3ea1436b61f9269 74287: 7947b20a026f4ccb914acbb5a974149e130b5e67 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/aops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 74197a91a4dc..e6173a6e5c7e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bccb9dad8949cd0df1d3d2188a1fdb4b1936d537 +refs/heads/master: 0d8a4e0cd688ad0de6430ce3425c7849cfec1c2d diff --git a/trunk/fs/ocfs2/aops.c b/trunk/fs/ocfs2/aops.c index 556e34ccb005..56f7790cad46 100644 --- a/trunk/fs/ocfs2/aops.c +++ b/trunk/fs/ocfs2/aops.c @@ -1514,7 +1514,7 @@ int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size) { struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; - if (new_size < le16_to_cpu(di->id2.i_data.id_count)) + if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) return 1; return 0; }