getting rid of 'opened' argument of ->atomic_open() - part 1
'opened' argument of finish_open() is unused. Kill it. Signed-off-by Al Viro <viro@zeniv.linux.org.uk>
Tento commit je obsažen v:
@@ -626,7 +626,7 @@ static int gfs2_create_inode(struct inode *dir, struct dentry *dentry,
|
||||
error = 0;
|
||||
if (file) {
|
||||
if (S_ISREG(inode->i_mode))
|
||||
error = finish_open(file, dentry, gfs2_open_common, opened);
|
||||
error = finish_open(file, dentry, gfs2_open_common);
|
||||
else
|
||||
error = finish_no_open(file, NULL);
|
||||
}
|
||||
@@ -768,7 +768,7 @@ static int gfs2_create_inode(struct inode *dir, struct dentry *dentry,
|
||||
d_instantiate(dentry, inode);
|
||||
if (file) {
|
||||
file->f_mode |= FMODE_CREATED;
|
||||
error = finish_open(file, dentry, gfs2_open_common, opened);
|
||||
error = finish_open(file, dentry, gfs2_open_common);
|
||||
}
|
||||
gfs2_glock_dq_uninit(ghs);
|
||||
gfs2_glock_dq_uninit(ghs + 1);
|
||||
@@ -866,7 +866,7 @@ static struct dentry *__gfs2_lookup(struct inode *dir, struct dentry *dentry,
|
||||
return d;
|
||||
}
|
||||
if (file && S_ISREG(inode->i_mode))
|
||||
error = finish_open(file, dentry, gfs2_open_common, opened);
|
||||
error = finish_open(file, dentry, gfs2_open_common);
|
||||
|
||||
gfs2_glock_dq_uninit(&gh);
|
||||
if (error) {
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele