Skip to content

Commit c42293a

Browse files
Artur Świgońhubcapsc
authored andcommitted
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>
1 parent f74c2bb commit c42293a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/orangefs/namei.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static int orangefs_symlink(struct inode *dir,
224224
struct orangefs_object_kref ref;
225225
struct inode *inode;
226226
struct iattr iattr;
227-
int mode = 755;
227+
int mode = 0755;
228228
int ret;
229229

230230
gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);

0 commit comments

Comments
 (0)