summaryrefslogtreecommitdiff
path: root/fs/overlayfs/export.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-08-08 11:03:11 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-08-08 11:03:11 -0700
commit65512eb0e9e6308ca08110c88a9619a9e5a19aa9 (patch)
treee38e41da4a5edf8c1b47f9e79130cae077362109 /fs/overlayfs/export.c
parentf72fb74b8218f9aebfcc691b7e9bb641920dbc13 (diff)
parent4f1196288dfb6fc63e28e585392f2df3b8a63388 (diff)
downloadlwn-65512eb0e9e6308ca08110c88a9619a9e5a19aa9.tar.gz
lwn-65512eb0e9e6308ca08110c88a9619a9e5a19aa9.zip
Merge tag 'ovl-update-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
Pull overlayfs update from Miklos Szeredi: "Just a small update" * tag 'ovl-update-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs: ovl: fix spelling mistakes ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh() ovl: improve ovl_get_acl() if POSIX ACL support is off ovl: fix some kernel-doc comments ovl: warn if trusted xattr creation fails
Diffstat (limited to 'fs/overlayfs/export.c')
-rw-r--r--fs/overlayfs/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c
index 2eada97bbd23..e065a5b9a442 100644
--- a/fs/overlayfs/export.c
+++ b/fs/overlayfs/export.c
@@ -259,7 +259,7 @@ static int ovl_encode_fh(struct inode *inode, u32 *fid, int *max_len,
return FILEID_INVALID;
dentry = d_find_any_alias(inode);
- if (WARN_ON(!dentry))
+ if (!dentry)
return FILEID_INVALID;
bytes = ovl_dentry_to_fid(ofs, dentry, fid, buflen);