This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch master
in repository gfs2-utils.
commit af42ad6175c25e4d37d7980f963f1ef32e9a2549
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Nov 26 17:28:29 2021 +0000
libgfs2: Remove unnecessary cast from gfs2_lookupi()
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/libgfs2/fs_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfs2/libgfs2/fs_ops.c b/gfs2/libgfs2/fs_ops.c
index 449873b9..886496f7 100644
--- a/gfs2/libgfs2/fs_ops.c
+++ b/gfs2/libgfs2/fs_ops.c
@@ -1882,7 +1882,7 @@ int gfs2_lookupi(struct gfs2_inode *dip, const char *filename, int
len,
if (!len || len > GFS2_FNAMESIZE)
return -ENAMETOOLONG;
- if (gfs2_filecmp(filename, (char *)".", 1)) {
+ if (gfs2_filecmp(filename, ".", 1)) {
*ipp = dip;
return 0;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date