It seems all of your patches are malformed. please use 'git send-email’ to send 
patch.

Regards
Yan, Zheng


> On Aug 17, 2015, at 16:43, Ma, Jianpeng <[email protected]> wrote:
> 
> For ceph_open, it already get the parent inode. So no need to get again.
> 
> Signed-off-by: Jianpeng Ma <[email protected]>
> ---
> fs/ceph/file.c | 3 ---
> 1 file changed, 3 deletions(-)
> 
> diff --git a/fs/ceph/file.c b/fs/ceph/file.c
> index 8b79d87..5ecd3dc 100644
> --- a/fs/ceph/file.c
> +++ b/fs/ceph/file.c
> @@ -210,10 +210,7 @@ int ceph_open(struct inode *inode, struct file *file)
>        ihold(inode);
> 
>        req->r_num_caps = 1;
> -       if (flags & O_CREAT)
> -               parent_inode = 
> ceph_get_dentry_parent_inode(file->f_path.dentry);
>        err = ceph_mdsc_do_request(mdsc, parent_inode, req);
> -       iput(parent_inode);
>        if (!err)
>                err = ceph_init_file(inode, file, req->r_fmode);
>        ceph_mdsc_put_request(req);
> --
> 2.4.3
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to