Project

General

Profile

Bug #19958 ยป 0001-ceph-check-i_nlink-while-converting-a-file-handle-to.patch

Luis Henriques, 05/17/2017 11:13 AM

View differences:

fs/ceph/export.c
ceph_mdsc_put_request(req);
if (!inode)
return ERR_PTR(-ESTALE);
if (inode->i_nlink == 0) {
iput(inode);
return ERR_PTR(-ESTALE);
}
}
return d_obtain_alias(inode);
    (1-1/1)