projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74c2bb
)
orangefs: Add octal zero prefix
author
Artur Świgoń
<a.swigon@partner.samsung.com>
Tue, 13 Aug 2019 10:53:37 +0000
(12:53 +0200)
committer
Mike Marshall
<hubcap@omnibond.com>
Thu, 12 Sep 2019 18:17:16 +0000
(14:17 -0400)
This patch adds a missing zero to mode 755 specification required to
express it in octal numeral system.
Reported-by: Łukasz Wrochna <l.wrochna@samsung.com>
Signed-off-by: Artur Świgoń <a.swigon@partner.samsung.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/namei.c
patch
|
blob
|
history
diff --git
a/fs/orangefs/namei.c
b/fs/orangefs/namei.c
index 1dd710e5f3761871da044aad21756a0fa7fc52cb..3e7cf3d0a49460547ad57c00c8a752637d5b7201 100644
(file)
--- 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 =
0
755;
int ret;
gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);