summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-07 19:04:05 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:10 +0300
commit1e81f89b020758fb424f8bb0f13405706d29dfc7 (patch)
tree7ae51550659bf2f5e19595ebdb377d1343001382 /fs/bcachefs/fs-io.c
parent6fe893eade864665c0956a2ac2eff78b86dc8145 (diff)
downloadlinux-1e81f89b020758fb424f8bb0f13405706d29dfc7.tar.xz
bcachefs: Fix assorted checkpatch nits
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
-rw-r--r--fs/bcachefs/fs-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c
index 917ad1c8f46d..40bfd0b25d9d 100644
--- a/fs/bcachefs/fs-io.c
+++ b/fs/bcachefs/fs-io.c
@@ -2867,7 +2867,7 @@ static int __bch2_truncate_folio(struct bch_inode_info *inode,
folio = __filemap_get_folio(mapping, index,
FGP_LOCK|FGP_CREAT, GFP_KERNEL);
- if (unlikely(IS_ERR_OR_NULL(folio))) {
+ if (IS_ERR_OR_NULL(folio)) {
ret = -ENOMEM;
goto out;
}