diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-02-24 21:02:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-24 22:38:28 +0100 |
commit | 4612aeef09ec492ca5877e06f0dbac5383da5e88 (patch) | |
tree | 08274b9b55376388802c8a9827857e1a9fb13a83 /kernel/audit_fsnotify.c | |
parent | mm/filemap: change filemap_create_page calling conventions (diff) | |
download | linux-4612aeef09ec492ca5877e06f0dbac5383da5e88.tar.xz linux-4612aeef09ec492ca5877e06f0dbac5383da5e88.zip |
mm/filemap: convert filemap_update_page to return an errno
Use AOP_TRUNCATED_PAGE to indicate that no error occurred, but the page we
looked up is no longer valid. In this case, the reference to the page
will have been removed; if we hit any other error, the caller will release
the reference.
Link: https://lkml.kernel.org/r/20210122160140.223228-12-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Kent Overstreet <kent.overstreet@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/audit_fsnotify.c')
0 files changed, 0 insertions, 0 deletions