Loading fs/cifs/inode.c +2 −1 Original line number Diff line number Diff line Loading @@ -546,6 +546,7 @@ int cifs_get_inode_info(struct inode **pinode, if ((inode->i_mode & S_IWUGO) == 0 && (attr & ATTR_READONLY) == 0) inode->i_mode |= (S_IWUGO & default_mode); inode->i_mode &= ~S_IFMT; } /* clear write bits if ATTR_READONLY is set */ Loading Loading
fs/cifs/inode.c +2 −1 Original line number Diff line number Diff line Loading @@ -546,6 +546,7 @@ int cifs_get_inode_info(struct inode **pinode, if ((inode->i_mode & S_IWUGO) == 0 && (attr & ATTR_READONLY) == 0) inode->i_mode |= (S_IWUGO & default_mode); inode->i_mode &= ~S_IFMT; } /* clear write bits if ATTR_READONLY is set */ Loading