]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ext4/ext4.h
drop unused dentry argument to ->fsync
[net-next-2.6.git] / fs / ext4 / ext4.h
index 124ef771a618d5d64dd2bfda6864f89b33fdc93d..19a4de57128ad7e493ec7843050d1fccc7bda8a4 100644 (file)
@@ -1180,6 +1180,7 @@ enum {
        EXT4_STATE_DA_ALLOC_CLOSE,      /* Alloc DA blks on close */
        EXT4_STATE_EXT_MIGRATE,         /* Inode is migrating */
        EXT4_STATE_DIO_UNWRITTEN,       /* need convert on dio done*/
+       EXT4_STATE_NEWENTRY,            /* File just added to dir */
 };
 
 #define EXT4_INODE_BIT_FNS(name, field)                                        \
@@ -1518,7 +1519,7 @@ extern int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
 extern void ext4_htree_free_dir_info(struct dir_private_info *p);
 
 /* fsync.c */
-extern int ext4_sync_file(struct file *, struct dentry *, int);
+extern int ext4_sync_file(struct file *, int);
 
 /* hash.c */
 extern int ext4fs_dirhash(const char *name, int len, struct