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

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

Advertisement

Kernel v2.6.25-rc1 /fs/super.c

Filename:/fs/super.c
Lines Added:2
Lines Deleted:0
Also changed in: (Previous) 2.6.24-git22  2.6.24-git21  2.6.24-git20  2.6.24-git19  2.6.24  2.6.24-rc8 
(Following) 2.6.25-rc2  2.6.25-rc3  2.6.25-rc4  2.6.25-rc4-git1  2.6.25-rc4-git2  2.6.25-rc4-git3 

Location
[  2.6.25-rc1
  [  fs
     o  super.c

Patch

diff --git a/fs/super.c b/fs/super.c
index ceaf2e3..88811f6 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -105,6 +105,7 @@ static inline void destroy_super(struct super_block *s)
 {
    security_sb_free(s);
    kfree(s->s_subtype);
+   kfree(s->s_options);
    kfree(s);
 }
 
@@ -603,6 +604,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
          mark_files_ro(sb);
       else if (!fs_may_remount_ro(sb))
          return -EBUSY;
+      DQUOT_OFF(sb);
    }
 
    if (sb->s_op->remount_fs) {


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