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

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

Advertisement

Kernel v2.4.14-pre8 /fs/dquot.c

Filename:/fs/dquot.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.14-pre7  2.4.14-pre6  2.4.13-ac7  2.4.13-ac6  2.4.13-ac5  2.4.13-ac4 
(Following) 2.4.14  2.4.15-greased-turkey  2.4.18-pre3-ac1  2.4.18-pre3-ac2  2.4.18-pre7-ac1  2.4.18-pre7-ac2 

Location
[  2.4.14-pre8
  [  fs
     o  dquot.c

Patch

diff -u --recursive --new-file v2.4.13/linux/fs/dquot.c linux/fs/dquot.c
--- v2.4.13/linux/fs/dquot.c   Tue Oct  9 17:06:53 2001
+++ linux/fs/dquot.c   Tue Oct 30 15:12:36 2001
@@ -1363,6 +1363,7 @@
    inode->i_flags |= S_NOQUOTA;
 
    dqopt->files[type] = f;
+   sb->dq_op = &dquot_operations;
    set_enable_flags(dqopt, type);
 
    dquot = dqget(sb, 0, type);
@@ -1370,7 +1371,6 @@
    dqopt->block_expire[type] = (dquot != NODQUOT) ? dquot->dq_btime : MAX_DQ_TIME;
    dqput(dquot);
 
-   sb->dq_op = &dquot_operations;
    add_dquot_ref(sb, type);
 
    up(&dqopt->dqoff_sem);


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