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 <l.wrochna@samsung.com> Signed-off-by: Artur Świgoń <a.swigon@partner.samsung.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
parent
f74c2bb987
commit
c42293a951
|
@ -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__);
|
||||
|
|
Loading…
Reference in New Issue