]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 9 Dec 2021 18:25:43 +0000 (10:25 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 09:58:53 +0000 (10:58 +0100)
commitb07dd9e53f76639d95cb965b297cd5f43cc28565
tree8c8d510d7ad6efab8a8a043b79966803eef16480
parentbcdb05e8f13644d2cb59d7a994478710e4a53eaf
f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file

BugLink: https://bugs.launchpad.net/bugs/1959376
commit 19bdba5265624ba6b9d9dd936a0c6ccc167cfe80 upstream.

Android OTA failed due to SBI_NEED_FSCK flag when pinning the file. Let's avoid
it since we can do in-place-updates.

Cc: stable@vger.kernel.org
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
fs/f2fs/data.c
fs/f2fs/file.c