commit | 43927f0127b5ac73167cc032c581a6111d863396 | [log] [tgz] |
---|---|---|
author | Sahana Rao <sahanas@google.com> | Tue Dec 10 22:59:01 2019 +0000 |
committer | Sahana Rao <sahanas@google.com> | Wed Dec 11 13:42:19 2019 +0000 |
tree | 92f40ecccdd8d928b5a6783d98fc780e8717be1d | |
parent | f7be2622a272fea2a517ff830f2e98f27eec0b36 [diff] |
FUSE readdir: call do_forget for rejected directory entry node. If buffer capacity is not enough to hold current directory entry, the directory entry gets rejected. In this case, lookup called by readdir_plus will not be tracked by kernel. Call forget on the rejected node to decrement the reference count. Test: N.A. Bug: 145989506 Change-Id: Ic84d3a9094606245f1b5c4e7ff56e43161359dba