Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9dbd05b authored by Al Viro's avatar Al Viro
Browse files

switch ufs directories to ufs_sync_file()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6e8341a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -666,6 +666,6 @@ int ufs_empty_dir(struct inode * inode)
const struct file_operations ufs_dir_operations = {
	.read		= generic_read_dir,
	.readdir	= ufs_readdir,
	.fsync		= file_fsync,
	.fsync		= ufs_sync_file,
	.llseek		= generic_file_llseek,
};
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include "ufs.h"


static int ufs_sync_file(struct file *file, struct dentry *dentry, int datasync)
int ufs_sync_file(struct file *file, struct dentry *dentry, int datasync)
{
	struct inode *inode = dentry->d_inode;
	int err;
+1 −1
Original line number Diff line number Diff line
@@ -98,8 +98,8 @@ extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
/* file.c */
extern const struct inode_operations ufs_file_inode_operations;
extern const struct file_operations ufs_file_operations;

extern const struct address_space_operations ufs_aops;
extern int ufs_sync_file(struct file *, struct dentry *, int);

/* ialloc.c */
extern void ufs_free_inode (struct inode *inode);