Bug #19958 ยป 0001-ceph-check-i_nlink-while-converting-a-file-handle-to.patch
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);
|