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

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

Advertisement

Kernel v2.6.24 /fs/ext4/fsync.c

Filename:/fs/ext4/fsync.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.25-git15  2.6.25-git16  2.6.25-git17  2.6.25-git18  2.6.25-git19  2.6.25-git20 

Location
[  2.6.24
  [  fs
    [  ext4
       o  fsync.c

Patch

diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
index 2a167d7..8d50879 100644
--- a/fs/ext4/fsync.c
+++ b/fs/ext4/fsync.c
@@ -47,7 +47,7 @@ int ext4_sync_file(struct file * file, struct dentry *dentry, int datasync)
    struct inode *inode = dentry->d_inode;
    int ret = 0;
 
-   J_ASSERT(ext4_journal_current_handle() == 0);
+   J_ASSERT(ext4_journal_current_handle() == NULL);
 
    /*
     * data=writeback:


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