aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorJeffle Xu <jefflexu@linux.alibaba.com>2022-03-30 17:47:59 +0800
committerDavid Howells <dhowells@redhat.com>2022-04-08 23:32:30 +0100
commitea5dc046127e857a7873ae55fd57c866e9e86fb2 (patch)
tree0ccfe88a5a3c8833d16d192ece9e55bb3261e7b4 /mm/page_alloc.c
parentMerge tag 'hyperv-fixes-signed-20220407' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux (diff)
downloadwireguard-linux-ea5dc046127e857a7873ae55fd57c866e9e86fb2.tar.xz
wireguard-linux-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 <hsiangkao@linux.alibaba.com> Fixes: 1f08c925e7a3 ("cachefiles: Implement backing file wrangling") Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-cachefs@redhat.com 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 '')
0 files changed, 0 insertions, 0 deletions