fuse: remove duplicate check for nodeid
authorzyfjeff <zyfjeff@linux.alibaba.com>
Tue, 13 Dec 2022 11:51:47 +0000 (19:51 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 7 Jun 2023 14:26:34 +0000 (16:26 +0200)
commit1c3610d30e5c15f4db7eb8465e311b582aa50ebe
treee3176f15bf26bd12449881b2e2f71a54e277d1bc
parent5cadfbd5a11e5495cac217534c5f788168b1afd7
fuse: remove duplicate check for nodeid

before this check, the nodeid has already been checked once, so
the check here doesn't make an sense, so remove the check for
nodeid here.

            if (err || !outarg->nodeid)
                    goto out_put_forget;

            err = -EIO;
    >>>     if (!outarg->nodeid)
                    goto out_put_forget;

Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c