Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Artur Świgoń and committed by
Mike Marshall
c42293a9 f74c2bb9

+1 -1
+1 -1
fs/orangefs/namei.c
··· 224 224 struct orangefs_object_kref ref; 225 225 struct inode *inode; 226 226 struct iattr iattr; 227 - int mode = 755; 227 + int mode = 0755; 228 228 int ret; 229 229 230 230 gossip_debug(GOSSIP_NAME_DEBUG, "%s: called\n", __func__);