fsync.c (617ba13b31fbf505cc21799826639ef24ed94af0) | fsync.c (dab291af8d6307a3075c3d67d0cc8f98e646cb94) |
---|---|
1/* 2 * linux/fs/ext4/fsync.c 3 * 4 * Copyright (C) 1993 Stephen Tweedie (sct@redhat.com) 5 * from 6 * Copyright (C) 1992 Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 12 unchanged lines hidden (view full) --- 21 * Major simplications and cleanup - we only need to do the metadata, because 22 * we can depend on generic_block_fdatasync() to sync the data blocks. 23 */ 24 25#include <linux/time.h> 26#include <linux/fs.h> 27#include <linux/sched.h> 28#include <linux/writeback.h> | 1/* 2 * linux/fs/ext4/fsync.c 3 * 4 * Copyright (C) 1993 Stephen Tweedie (sct@redhat.com) 5 * from 6 * Copyright (C) 1992 Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 12 unchanged lines hidden (view full) --- 21 * Major simplications and cleanup - we only need to do the metadata, because 22 * we can depend on generic_block_fdatasync() to sync the data blocks. 23 */ 24 25#include <linux/time.h> 26#include <linux/fs.h> 27#include <linux/sched.h> 28#include <linux/writeback.h> |
29#include <linux/jbd.h> | 29#include <linux/jbd2.h> |
30#include <linux/ext4_fs.h> | 30#include <linux/ext4_fs.h> |
31#include <linux/ext4_jbd.h> | 31#include <linux/ext4_jbd2.h> |
32 33/* 34 * akpm: A new design for ext4_sync_file(). 35 * 36 * This is only called from sys_fsync(), sys_fdatasync() and sys_msync(). 37 * There cannot be a transaction open by this task. 38 * Another task could have dirtied this inode. Its data can be in any 39 * state in the journalling system. --- 49 unchanged lines hidden --- | 32 33/* 34 * akpm: A new design for ext4_sync_file(). 35 * 36 * This is only called from sys_fsync(), sys_fdatasync() and sys_msync(). 37 * There cannot be a transaction open by this task. 38 * Another task could have dirtied this inode. Its data can be in any 39 * state in the journalling system. --- 49 unchanged lines hidden --- |