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:
@@ -46,9 +46,9 @@ extern const struct inode_operations cifs_dir_inode_ops;
|
||||
extern struct inode *cifs_root_iget(struct super_block *);
|
||||
extern int cifs_create(struct inode *, struct dentry *, umode_t,
|
||||
struct nameidata *);
|
||||
extern struct file *cifs_atomic_open(struct inode *, struct dentry *,
|
||||
struct opendata *, unsigned, umode_t,
|
||||
int *);
|
||||
extern int cifs_atomic_open(struct inode *, struct dentry *,
|
||||
struct opendata *, unsigned, umode_t,
|
||||
int *);
|
||||
extern struct dentry *cifs_lookup(struct inode *, struct dentry *,
|
||||
struct nameidata *);
|
||||
extern int cifs_unlink(struct inode *dir, struct dentry *dentry);
|
||||
|
Reference in New Issue
Block a user