From: Artur Świgoń Date: Tue, 13 Aug 2019 10:53:37 +0000 (+0200) Subject: orangefs: Add octal zero prefix X-Git-Tag: v5.4-rc1~116^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c42293a951bdf315242dcf4cc673bf111c7632d8;p=platform%2Fkernel%2Flinux-rpi.git orangefs: Add octal zero prefix This patch adds a missing zero to mode 755 specification required to express it in octal numeral system. Reported-by: Łukasz Wrochna Signed-off-by: Artur Świgoń Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c index 1dd710e..3e7cf3d 100644 --- a/fs/orangefs/namei.c +++ b/fs/orangefs/namei.c @@ -224,7 +224,7 @@ static int orangefs_symlink(struct inode *dir, struct orangefs_object_kref ref; struct inode *inode; struct iattr iattr; - int mode = 755; + int mode = 0755; int ret; gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);