mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
switch ufs directories to ufs_sync_file()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
6e8341a11e
commit
f9dbd05bc9
3 changed files with 3 additions and 3 deletions
|
@ -666,6 +666,6 @@ not_empty:
|
||||||
const struct file_operations ufs_dir_operations = {
|
const struct file_operations ufs_dir_operations = {
|
||||||
.read = generic_read_dir,
|
.read = generic_read_dir,
|
||||||
.readdir = ufs_readdir,
|
.readdir = ufs_readdir,
|
||||||
.fsync = file_fsync,
|
.fsync = ufs_sync_file,
|
||||||
.llseek = generic_file_llseek,
|
.llseek = generic_file_llseek,
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "ufs.h"
|
#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;
|
struct inode *inode = dentry->d_inode;
|
||||||
int err;
|
int err;
|
||||||
|
|
|
@ -98,8 +98,8 @@ extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
|
||||||
/* file.c */
|
/* file.c */
|
||||||
extern const struct inode_operations ufs_file_inode_operations;
|
extern const struct inode_operations ufs_file_inode_operations;
|
||||||
extern const struct file_operations ufs_file_operations;
|
extern const struct file_operations ufs_file_operations;
|
||||||
|
|
||||||
extern const struct address_space_operations ufs_aops;
|
extern const struct address_space_operations ufs_aops;
|
||||||
|
extern int ufs_sync_file(struct file *, struct dentry *, int);
|
||||||
|
|
||||||
/* ialloc.c */
|
/* ialloc.c */
|
||||||
extern void ufs_free_inode (struct inode *inode);
|
extern void ufs_free_inode (struct inode *inode);
|
||||||
|
|
Loading…
Reference in a new issue