History

drop unused dentry argument to ->fsync

Christoph Hellwig committed 16 years ago

Commit 7ea80851 parent cc967be69 files · +129 −157Browse files

Showing the changes to include/linux (4 of 69 files). Show all

Unified · Split

4 files
  1. include/linux/buffer_head.h +1 −1
  2. include/linux/ext3_fs.h +1 −1
  3. include/linux/fb.h +1 −4
  4. include/linux/fs.h +4 −4
include/linux/buffer_head.h+1−1
@@ -224,7 +224,7 @@ int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf, · 223 unmodified lines
224224 void block_sync_page(struct page *);
225225 sector_t generic_block_bmap(struct address_space *, sector_t, get_block_t *);
226226 int block_truncate_page(struct address_space *, loff_t, get_block_t *);
227−int file_fsync(struct file *, struct dentry *, int);
227+int file_fsync(struct file *, int);
228228 int nobh_write_begin(struct file *, struct address_space *,
229229 loff_t, unsigned, unsigned,
230230 struct page **, void **, get_block_t*);
include/linux/ext3_fs.h+1−1
@@ -868,7 +868,7 @@ extern int ext3_htree_store_dirent(struct file *dir_file, __u32 hash, · 867 unmodified lines
868868 extern void ext3_htree_free_dir_info(struct dir_private_info *p);
869869
870870 /* fsync.c */
871−extern int ext3_sync_file (struct file *, struct dentry *, int);
871+extern int ext3_sync_file(struct file *, int);
872872
873873 /* hash.c */
874874 extern int ext3fs_dirhash(const char *name, int len, struct
include/linux/fb.h+1−4
@@ -4,8 +4,6 @@ · 3 unmodified lines
44 #include <linux/types.h>
55 #include <linux/i2c.h>
66
7−struct dentry;
8−
97 /* Definitions of frame buffers */
108
119 #define FB_MAX 32 /* sufficient for now */
@@ -1017,8 +1015,7 @@ extern void fb_deferred_io_open(struct fb_info *info, · 1005 unmodified lines
10171015 struct inode *inode,
10181016 struct file *file);
10191017 extern void fb_deferred_io_cleanup(struct fb_info *info);
1020−extern int fb_deferred_io_fsync(struct file *file, struct dentry *dentry,
1021− int datasync);
1018+extern int fb_deferred_io_fsync(struct file *file, int datasync);
10221019
10231020 static inline bool fb_be_math(struct fb_info *info)
10241021 {
include/linux/fs.h+4−4
@@ -1498,7 +1498,7 @@ struct file_operations { · 1497 unmodified lines
14981498 int (*open) (struct inode *, struct file *);
14991499 int (*flush) (struct file *, fl_owner_t id);
15001500 int (*release) (struct inode *, struct file *);
1501− int (*fsync) (struct file *, struct dentry *, int datasync);
1501+ int (*fsync) (struct file *, int datasync);
15021502 int (*aio_fsync) (struct kiocb *, int datasync);
15031503 int (*fasync) (int, struct file *, int);
15041504 int (*lock) (struct file *, int, struct file_lock *);
@@ -2213,7 +2213,7 @@ extern int generic_segment_checks(const struct iovec *iov, · 708 unmodified lines
22132213 /* fs/block_dev.c */
22142214 extern ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
22152215 unsigned long nr_segs, loff_t pos);
2216−extern int blkdev_fsync(struct file *filp, struct dentry *dentry, int datasync);
2216+extern int blkdev_fsync(struct file *filp, int datasync);
22172217
22182218 /* fs/splice.c */
22192219 extern ssize_t generic_file_splice_read(struct file *, loff_t *,
@@ -2348,7 +2348,7 @@ extern int simple_link(struct dentry *, struct inode *, struct dentry *); · 128 unmodified lines
23482348 extern int simple_unlink(struct inode *, struct dentry *);
23492349 extern int simple_rmdir(struct inode *, struct dentry *);
23502350 extern int simple_rename(struct inode *, struct dentry *, struct inode *, struct dentry *);
2351−extern int simple_sync_file(struct file *, struct dentry *, int);
2351+extern int simple_sync_file(struct file *, int);
23522352 extern int simple_empty(struct dentry *);
23532353 extern int simple_readpage(struct file *file, struct page *page);
23542354 extern int simple_write_begin(struct file *file, struct address_space *mapping,
@@ -2373,7 +2373,7 @@ extern ssize_t simple_read_from_buffer(void __user *to, size_t count, · 18 unmodified lines
23732373 extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos,
23742374 const void __user *from, size_t count);
23752375
2376−extern int simple_fsync(struct file *, struct dentry *, int);
2376+extern int simple_fsync(struct file *, int);
23772377
23782378 #ifdef CONFIG_MIGRATION
23792379 extern int buffer_migrate_page(struct address_space *,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t