All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel]  [patch] fix bug 53--- Disk usage status reported in "df" is incorrect
@ 2004-08-06 17:06 Ling, Xiaofeng
  2004-08-06 18:46 ` Mark Fasheh
  0 siblings, 1 reply; 2+ messages in thread
From: Ling, Xiaofeng @ 2004-08-06 17:06 UTC (permalink / raw)
  To: ocfs2-devel

This is bug for 2.6 kernel.

------------------------------------------------------------------------
--------------------
Index: super.c
===================================================================
--- super.c     (revision 1331)
+++ super.c     (working copy)
@@ -757,6 +757,8 @@
                            reserved_bits);
        buf->f_bfree =
            (sector_t) (freebits * (osb->s_clustersize >>
osb->sb->s_blocksize_bits));
+
+       buf->f_bavail = buf->f_bfree;
        buf->f_files = (sector_t) (numbits);
        buf->f_ffree = (sector_t) (numbits) - freebits;
 #endif
-------------------
Intel China Software Lab.
iNet: 8-752-1243
8621-52574545-1243(O)
503-712-26740

xfling@users.sourceforge.net
Opinions are my own and don't represent those of my employer 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] [patch] fix bug 53--- Disk usage status reported in "df" is incorrect
  2004-08-06 17:06 [Ocfs2-devel] [patch] fix bug 53--- Disk usage status reported in "df" is incorrect Ling, Xiaofeng
@ 2004-08-06 18:46 ` Mark Fasheh
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Fasheh @ 2004-08-06 18:46 UTC (permalink / raw)
  To: ocfs2-devel

On Sat, Aug 07, 2004 at 06:05:50AM +0800, Ling, Xiaofeng wrote:
> This is bug for 2.6 kernel.
Cool, I've been meaning to track that one down...
 
> ------------------------------------------------------------------------
> --------------------
> Index: super.c
> ===================================================================
> --- super.c     (revision 1331)
> +++ super.c     (working copy)
> @@ -757,6 +757,8 @@
>                             reserved_bits);
>         buf->f_bfree =
>             (sector_t) (freebits * (osb->s_clustersize >>
> osb->sb->s_blocksize_bits));
gah, your mailer mangled this patch! It was tiny so I just did it by hand...
	--Mark

--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh@oracle.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-06 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 17:06 [Ocfs2-devel] [patch] fix bug 53--- Disk usage status reported in "df" is incorrect Ling, Xiaofeng
2004-08-06 18:46 ` Mark Fasheh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.