make ->atomic_open() return int
Change of calling conventions: old new NULL 1 file 0 ERR_PTR(-ve) -ve Caller *knows* that struct file *; no need to return it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -806,9 +806,9 @@ extern int ceph_copy_from_page_vector(struct page **pages,
|
||||
loff_t off, size_t len);
|
||||
extern struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags);
|
||||
extern int ceph_open(struct inode *inode, struct file *file);
|
||||
extern struct file *ceph_lookup_open(struct inode *dir, struct dentry *dentry,
|
||||
struct opendata *od, unsigned flags,
|
||||
umode_t mode, int *opened);
|
||||
extern int ceph_lookup_open(struct inode *dir, struct dentry *dentry,
|
||||
struct opendata *od, unsigned flags,
|
||||
umode_t mode, int *opened);
|
||||
extern int ceph_release(struct inode *inode, struct file *filp);
|
||||
|
||||
/* dir.c */
|
||||
|
Reference in New Issue
Block a user