Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.27 /fs/dquot.c

Filename:/fs/dquot.c
Lines Added:4
Lines Deleted:0
Also changed in: (Previous) 2.4.27-rc6  2.4.27-rc5  2.4.27-rc4  2.4.27-rc3  2.4.27-rc2  2.4.27-rc1 
(Following) 2.4.28-bk2  2.4.28-bk3  2.4.28-bk4  2.4.28-bk5  2.4.28-bk6  2.4.28-bk7 

Location
[  2.4.27
  [  fs
     o  dquot.c

Patch

diff -urN linux-2.4.26/fs/dquot.c linux-2.4.27/fs/dquot.c
--- linux-2.4.26/fs/dquot.c   2004-02-18 05:36:31.000000000 -0800
+++ linux-2.4.27/fs/dquot.c   2004-08-07 16:26:05.970400852 -0700
@@ -397,6 +397,10 @@
          wait_on_dquot(dquot);
       if (dquot_dirty(dquot))
          sb->dq_op->write_dquot(dquot);
+      /* Move the inuse_list head pointer to just after the
+       * current dquot, so that we'll restart the list walk
+       * after this point on the next pass. */
+      list_move(&inuse_list, &dquot->dq_inuse);
       dqput(dquot);
       goto restart;
    }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.