aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/backend-api.rst
diff options
context:
space:
mode:
authorJeffle Xu <[email protected]>2022-03-30 09:47:59 +0000
committerDavid Howells <[email protected]>2022-04-08 22:32:30 +0000
commitea5dc046127e857a7873ae55fd57c866e9e86fb2 (patch)
tree0ccfe88a5a3c8833d16d192ece9e55bb3261e7b4 /Documentation/filesystems/caching/backend-api.rst
parentMerge tag 'hyperv-fixes-signed-20220407' of git://git.kernel.org/pub/scm/linu... (diff)
downloadkernel-ea5dc046127e857a7873ae55fd57c866e9e86fb2.tar.gz
kernel-ea5dc046127e857a7873ae55fd57c866e9e86fb2.zip
cachefiles: unmark inode in use in error path
Unmark inode in use if error encountered. If the in-use flag leakage occurs in cachefiles_open_file(), Cachefiles will complain "Inode already in use" when later another cookie with the same index key is looked up. If the in-use flag leakage occurs in cachefiles_create_tmpfile(), though the "Inode already in use" warning won't be triggered, fix the leakage anyway. Reported-by: Gao Xiang <[email protected]> Fixes: 1f08c925e7a3 ("cachefiles: Implement backing file wrangling") Signed-off-by: Jeffle Xu <[email protected]> Signed-off-by: David Howells <[email protected]> cc: [email protected] Link: https://listman.redhat.com/archives/linux-cachefs/2022-March/006615.html # v1 Link: https://listman.redhat.com/archives/linux-cachefs/2022-March/006618.html # v2
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions